Skip to content

Instantly share code, notes, and snippets.

@ernesen
Created May 12, 2019 21:38
Show Gist options
  • Save ernesen/48663f9c43d1cc4a0c95c5e084d79400 to your computer and use it in GitHub Desktop.
Save ernesen/48663f9c43d1cc4a0c95c5e084d79400 to your computer and use it in GitHub Desktop.
kubectl get clusterrolebinding ibm-privileged-psp-users -o yaml > privileged-psp-user.yaml
echo "- apiGroup: rbac.authorization.k8s.io" | sudo tee -a privileged-psp-user.yaml
echo " kind: Group" | sudo tee -a privileged-psp-user.yaml
echo " name: system:serviceaccounts:employee" | sudo tee -a privileged-psp-user.yaml
kubectl apply -f privileged-psp-user.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment