Last active
April 5, 2018 02:49
-
-
Save 27Bslash6/6a78eb96f7be7fe4b62ab1386716fecf 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
# Helm init | |
helm init | |
# Apply | |
kc apply -f https://gist.githubusercontent.com/27Bslash6/97d4b9ad55a87e8c9880d9f425b1d4ab/raw/0c25adf337fe181689dbf7d7be2741e00f06a8b1/helm-tiller-rbac.yaml | |
# Create cluster-admin cluster role binding for Helm in namespace kube-system | |
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
# Patch a running deployment to confirm access rights | |
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment