Merge pull request #230 from vmware-tanzu/scc
Add nonroot SCC to work on OpenShift clusters
This commit is contained in:
commit
8a4be431f6
@ -24,6 +24,10 @@ rules:
|
|||||||
- apiGroups: [ policy ]
|
- apiGroups: [ policy ]
|
||||||
resources: [ podsecuritypolicies ]
|
resources: [ podsecuritypolicies ]
|
||||||
verbs: [ use ]
|
verbs: [ use ]
|
||||||
|
- apiGroups: [ security.openshift.io ]
|
||||||
|
resources: [ securitycontextconstraints ]
|
||||||
|
verbs: [ use ]
|
||||||
|
resourceNames: [ nonroot ]
|
||||||
---
|
---
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user