forked from infra/ansible
fix: make the readonly role a ClusterRole and fix it's rolebinding
Signed-off-by: Vít Smolík <me@smoliicek.cz>
This commit is contained in:
parent
775ff5cdfd
commit
cff13b3aa0
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
kind: Role
|
||||
kind: ClusterRole
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: "sysadmin-openshift-readonly"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
kind: RoleBinding
|
||||
kind: ClusterRoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: "sysadmin-openshift-readonly"
|
||||
|
|
@ -10,4 +10,4 @@ subjects:
|
|||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: cluster-readonly
|
||||
name: sysadmin-openshift-readonly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue