Skip to content

Instantly share code, notes, and snippets.

@qcho
Created February 24, 2018 22:42
Show Gist options
  • Save qcho/81e23f55820faed28a8b8fc65e64c2f9 to your computer and use it in GitHub Desktop.
Save qcho/81e23f55820faed28a8b8fc65e64c2f9 to your computer and use it in GitHub Desktop.
rbac enabled helm init script
#!/usr/bin/env bash
kubectl create serviceaccount -n kube-system tiller
kubectl create clusterrolebinding tiller-binding --clusterrole=cluster-admin --serviceaccount kube-system:tiller
helm init --service-account tiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment