Add configuration option for the imagePullSecrets in the WH jobs

This commit is contained in:
Laszlo Janosi 2020-05-04 17:46:27 +00:00
parent 080b917f91
commit 50896901b0
2 changed files with 6 additions and 0 deletions

View file

@ -26,6 +26,9 @@ spec:
spec: spec:
{{- if .Values.controller.admissionWebhooks.patch.priorityClassName }} {{- if .Values.controller.admissionWebhooks.patch.priorityClassName }}
priorityClassName: {{ .Values.controller.admissionWebhooks.patch.priorityClassName }} priorityClassName: {{ .Values.controller.admissionWebhooks.patch.priorityClassName }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
{{- end }} {{- end }}
containers: containers:
- name: create - name: create

View file

@ -26,6 +26,9 @@ spec:
spec: spec:
{{- if .Values.controller.admissionWebhooks.patch.priorityClassName }} {{- if .Values.controller.admissionWebhooks.patch.priorityClassName }}
priorityClassName: {{ .Values.controller.admissionWebhooks.patch.priorityClassName }} priorityClassName: {{ .Values.controller.admissionWebhooks.patch.priorityClassName }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
{{- end }} {{- end }}
containers: containers:
- name: patch - name: patch