Use existing variable for tiller service account name (#6829)

* Use existing variable for tiller service account name

* keep crb as tiller
This commit is contained in:
David Louks 2020-10-19 05:04:13 -05:00 committed by GitHub
parent d25aebdaf5
commit 79b7f0d592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ metadata:
namespace: {{ tiller_namespace }}
subjects:
- kind: ServiceAccount
name: tiller
name: {{ tiller_service_account }}
namespace: {{ tiller_namespace }}
roleRef:
kind: ClusterRole
@ -20,7 +20,7 @@ metadata:
name: psp:tiller
subjects:
- kind: ServiceAccount
name: tiller
name: {{ tiller_service_account }}
namespace: {{ tiller_namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io

View file

@ -2,5 +2,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
name: {{ tiller_service_account }}
namespace: {{ tiller_namespace }}