Merge pull request #5504 from janosi/wh_imagepullsecret

Add configuration option for the imagePullSecrets in the webhook jobs
This commit is contained in:
Kubernetes Prow Robot 2020-05-04 12:34:28 -07:00 committed by GitHub
commit 45698ca4e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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