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:
Vít Smolík 2026-03-03 18:34:50 +01:00
commit cff13b3aa0
Signed by untrusted user: smoliicek
GPG key ID: DD3504BFC3F7C811
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
---
kind: Role
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "sysadmin-openshift-readonly"

View file

@ -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