Created
October 25, 2019 00:40
-
-
Save smothiki/0a860b20cbb3fd06ff6f7919787f087e to your computer and use it in GitHub Desktop.
tiller rbac.yml
This file contains hidden or 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
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: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kubectl --namespace kube-system patch deploy tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'