Skip to content

Instantly share code, notes, and snippets.

@tendant
Forked from lachie83/jenkins-service-account
Created February 20, 2019 15:10
Show Gist options
  • Save tendant/a9752727a80bc2ab51b490c919a1b5b4 to your computer and use it in GitHub Desktop.
Save tendant/a9752727a80bc2ab51b490c919a1b5b4 to your computer and use it in GitHub Desktop.
kubectl -n kube-system create sa jenkins
kubectl create clusterrolebinding jenkins --clusterrole cluster-admin --serviceaccount=<namespace>:jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment