Skip to content

Instantly share code, notes, and snippets.

@lachie83
Created May 23, 2017 05:10
Show Gist options
  • Save lachie83/17c1fff4eb58cf75c5fb11a4957a64d2 to your computer and use it in GitHub Desktop.
Save lachie83/17c1fff4eb58cf75c5fb11a4957a64d2 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
@FelipeMiranda
Copy link

What that 'sa' means?

@lukibahr
Copy link

@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/

@lafada
Copy link

lafada commented Nov 8, 2021

@trahloff did you get your answer ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment