--- charts-original/templates/admission-webhooks/job-patch/job-patchWebhook.yaml +++ charts/templates/admission-webhooks/job-patch/job-patchWebhook.yaml @@ -32,9 +32,7 @@ {{- end }} containers: - name: patch - {{- with .Values.controller.admissionWebhooks.patch.image }} - image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}" - {{- end }} + image: "{{ template "system_default_registry" . }}{{.Values.controller.admissionWebhooks.patch.image.repository}}:{{ .Values.controller.admissionWebhooks.patch.image.tag }}{{- if (.Values.controller.admissionWebhooks.patch.image.digest) -}} @{{.Values.controller.admissionWebhooks.patch.image.digest}} {{- end -}}" imagePullPolicy: {{ .Values.controller.admissionWebhooks.patch.image.pullPolicy }} args: - patch