Skip to content

Instantly share code, notes, and snippets.

@bufferings
Last active July 15, 2018 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bufferings/107038061afb1485f1642523581046d1 to your computer and use it in GitHub Desktop.
Save bufferings/107038061afb1485f1642523581046d1 to your computer and use it in GitHub Desktop.
# Create a service account for Helm and grant the cluster admin role.
# It is assumed that helm should be installed with this service account
# (tiller).
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment