Add configuration option for the imagePullSecrets in the WH jobs
This commit is contained in:
parent
080b917f91
commit
50896901b0
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue