Created
July 23, 2021 02:03
-
-
Save georgegoh/d3ccd5662a3709b179a585d488cec012 to your computer and use it in GitHub Desktop.
vSphere w/ Tanzu comes with default PSPs. This gist allows any service account to run pods with restricted privileges by using the supplied `vmware-system-restricted` policy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (vSphere w/ Tanzu) allow any service account to run pods with restricted privileges. | |
kubectl create clusterrolebinding all:psp:restricted \ | |
--clusterrole=psp:vmware-system-restricted \ | |
--group=system:serviceaccounts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment