Skip to content

Instantly share code, notes, and snippets.

@yuriburger
Last active January 29, 2020 03:24
Show Gist options
  • Save yuriburger/e7d46d3052a279d4ab075c7d1ba9c1cd to your computer and use it in GitHub Desktop.
Save yuriburger/e7d46d3052a279d4ab075c7d1ba9c1cd to your computer and use it in GitHub Desktop.
[tiller account and binding] Service Account for Helm in an RBAC-enabled AKS cluster #helm #azure #kubernetes
// vim: syntax=bash
helm init --service-account tiller
helm repo update
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
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