Skip to content

Instantly share code, notes, and snippets.

@shazadbrohi
Created November 2, 2020 23:14
Show Gist options
  • Save shazadbrohi/679f38df458053a20777f16268881f97 to your computer and use it in GitHub Desktop.
Save shazadbrohi/679f38df458053a20777f16268881f97 to your computer and use it in GitHub Desktop.
A cluster role which authorizes use of the privileged-psp.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: privileged-cluster-role
rules:
- apiGroups:
- policy
resourceNames:
- privileged-psp
resources:
- podsecuritypolicies
verbs:
- use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment