use helm release variable for service account name and namespace

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2021-05-26 09:55:04 +00:00
parent 999711f1cf
commit 91ebc2cd01
3 changed files with 6 additions and 6 deletions

View File

@@ -44,8 +44,8 @@ spec:
periodSeconds: 10
successThreshold: 1
failureThreshold: 8
serviceAccount: kubesphere
serviceAccountName: kubesphere
serviceAccount: {{ include "ks-core.serviceAccountName" . }}
serviceAccountName: {{ include "ks-core.serviceAccountName" . }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}