[helm] add possibility to use array for imagePullSecrets (#4782)

add possibility to use array for imagePullSecrets
This commit is contained in:
tikhon-opsfleet
2023-08-23 14:01:41 +06:00
committed by GitHub
parent 733db2bc88
commit 5251b4d50e
5 changed files with 20 additions and 17 deletions

View File

@@ -42,10 +42,7 @@ spec:
tolerations:
{{ tpl .Values.master.tolerations . | nindent 8 | trim }}
{{- end }}
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.global.imagePullSecrets }}
{{- end }}
{{- include "seaweedfs.imagePullSecrets" . | nindent 6 }}
terminationGracePeriodSeconds: 60
{{- if .Values.master.priorityClassName }}
priorityClassName: {{ .Values.master.priorityClassName | quote }}