Merge pull request #12 from mark-burnett/fix-tiller

Fix RBAC for tiller
This commit is contained in:
Mark Burnett 2017-06-21 08:00:43 -05:00 committed by GitHub
commit 611cd1c96c
1 changed files with 20 additions and 0 deletions

View File

@ -1,4 +1,23 @@
---
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
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@ -24,6 +43,7 @@ spec:
app: helm
name: tiller
spec:
serviceAccountName: tiller
containers:
- env:
- name: TILLER_NAMESPACE