2021-02-26 01:34:15 +00:00
|
|
|
--- charts-original/templates/default-backend-deployment.yaml
|
|
|
|
+++ charts/templates/default-backend-deployment.yaml
|
2021-07-08 23:40:54 +00:00
|
|
|
@@ -39,9 +39,7 @@
|
2021-05-07 19:43:34 +00:00
|
|
|
{{- end }}
|
2021-02-26 01:34:15 +00:00
|
|
|
containers:
|
2021-05-07 19:43:34 +00:00
|
|
|
- name: {{ template "ingress-nginx.name" . }}-default-backend
|
|
|
|
- {{- with .Values.defaultBackend.image }}
|
2021-07-08 23:40:54 +00:00
|
|
|
- image: "{{- if .repository -}}{{ .repository }}{{ else }}{{ .registry }}/{{ .image }}{{- end -}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
2021-05-07 19:43:34 +00:00
|
|
|
- {{- end }}
|
2021-07-08 23:40:54 +00:00
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ template "repository_or_registry_and_image" .Values.defaultBackend.image }}"
|
2021-05-07 19:43:34 +00:00
|
|
|
imagePullPolicy: {{ .Values.defaultBackend.image.pullPolicy }}
|
|
|
|
{{- if .Values.defaultBackend.extraArgs }}
|
2021-04-05 22:47:34 +00:00
|
|
|
args:
|