Make role and binding namespaced.
This commit is contained in:
parent
c65c0f979b
commit
02b5cd588d
2 changed files with 3 additions and 3 deletions
|
|
@ -1,12 +1,12 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: vm-operator
|
||||
labels:
|
||||
app.kubernetes.io/name: vm-operator
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
kind: Role
|
||||
name: vm-operator
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
kind: Role
|
||||
metadata:
|
||||
name: vm-operator
|
||||
labels:
|
||||
Loading…
Add table
Add a link
Reference in a new issue