Skip to content

Instantly share code, notes, and snippets.

@wahyd4
Created October 2, 2018 07:12
Show Gist options
  • Save wahyd4/75ac3a7bd2b00c4e34f1a4202c16ddfd to your computer and use it in GitHub Desktop.
Save wahyd4/75ac3a7bd2b00c4e34f1a4202c16ddfd to your computer and use it in GitHub Desktop.
Kubernetes service account for Helm
# Create service account in Kubernetes
kubectl -n dex-dev create serviceaccount tiller
serviceaccount "tiller" created
$ kubectl -n dex-dev create rolebinding tiller --clusterrole admin --serviceaccount dex-dev:tiller
rolebinding "tiller" created
$ helm init --service-account=tiller --tiller-namespace=dex-dev
...
Happy Helming!
$ kubectl -n dex-dev delete service tiller-deploy
service "tiller-deploy" deleted
helm upgrade --install -f filereceiver/values-dev.yaml filereceiver ./filereceiver --tiller-namespace filereceiver-staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment