fix when we create serviceAccount value for master and volume statefulsets to be when global.createClusterRole is set to true
This commit is contained in:
@@ -55,7 +55,7 @@ spec:
|
||||
priorityClassName: {{ .Values.master.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
enableServiceLinks: false
|
||||
{{- if .Values.master.serviceAccountName }}
|
||||
{{- if .Values.global.createClusterRole }}
|
||||
serviceAccountName: {{ default .Values.global.serviceAccountName .Values.master.serviceAccountName }} # for deleting statefulset pods after migration
|
||||
{{- end }}
|
||||
{{- if .Values.master.initContainers }}
|
||||
|
||||
Reference in New Issue
Block a user