Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created June 18, 2019 00:14
Show Gist options
  • Save rms1000watt/03fe4d74aab811ed319cbf81315f6172 to your computer and use it in GitHub Desktop.
Save rms1000watt/03fe4d74aab811ed319cbf81315f6172 to your computer and use it in GitHub Desktop.
Install Helm on Kubernetes
---
apiVersion: v1
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-role-binding
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
#!/usr/bin/env bash
kubectl create serviceaccount tiller --namespace kube-system
kubectl apply -f ./helm-rbac.yaml
helm init --service-account tiller --upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment