mirror of https://github.com/knative/docs.git
Switching to rbac v1 (#663)
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
This commit is contained in:
parent
290ca7dd59
commit
2a2abbf0f2
|
@ -17,7 +17,7 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
name: prometheus-test
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: prometheus-test
|
||||
|
@ -36,7 +36,7 @@ rules:
|
|||
- nonResourceURLs: ["/metrics"]
|
||||
verbs: ["get"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: prometheus-test
|
||||
|
@ -119,4 +119,4 @@ spec:
|
|||
name: prometheus-test-scrape-config
|
||||
|
||||
- name: prometheus-storage-volume
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
|
|
@ -213,7 +213,7 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
name: external-dns
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: external-dns
|
||||
|
@ -231,7 +231,7 @@ rules:
|
|||
resources: ["nodes"]
|
||||
verbs: ["list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: external-dns-viewer
|
||||
|
@ -279,7 +279,7 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
name: external-dns
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: external-dns
|
||||
|
@ -297,7 +297,7 @@ rules:
|
|||
resources: ["nodes"]
|
||||
verbs: ["list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: external-dns-viewer
|
||||
|
|
Loading…
Reference in New Issue