fix RBAC for tiller

This commit is contained in:
Mark Burnett 2017-06-20 13:55:11 -05:00
parent fac36cec4f
commit 3261e6a18c
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