Created
May 23, 2017 05:10
-
-
Save lachie83/17c1fff4eb58cf75c5fb11a4957a64d2 to your computer and use it in GitHub Desktop.
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
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
@FelipeMiranda sa in short means serviceaccount and stands for the Kubernetes ServiceAccount API Object: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/