Gerd König:
Hi,
a question regarding RBAC:
I need to grant the permission create clusterrole and clusterrolebinding to a group.
So far, I defined the following:
apiVersion: <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>
kind: ClusterRole
metadata:
name: my-cluster-role
rules:
- apiGroups: [""]
resources: ["clusterroles", "clusterrolebindings"]
verbs: ["get", "list", "edit", "create" ]
…and assigned that clusterrole to the proper group via clusterrolebinding.
But unfortunately it still doesn’t work
What exactly do I have to grant, so that a dedicated group (or a user) is able to create clusterroles and clusterrolebindings ?
many thanks in advance