[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

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