Skip to content

Instantly share code, notes, and snippets.

@smothiki
Created October 25, 2019 00:40
Show Gist options
  • Save smothiki/0a860b20cbb3fd06ff6f7919787f087e to your computer and use it in GitHub Desktop.
Save smothiki/0a860b20cbb3fd06ff6f7919787f087e to your computer and use it in GitHub Desktop.
tiller rbac.yml
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: ""
@smothiki
Copy link
Author

kubectl --namespace kube-system patch deploy 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