mirror of https://git.rancher.io/charts
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
--- charts-original/templates/manager-deployment.yaml
|
|
+++ charts/templates/manager-deployment.yaml
|
|
@@ -71,23 +71,7 @@
|
|
{{- end }}
|
|
containers:
|
|
- name: neuvector-manager-pod
|
|
- {{- if .Values.global.azure.enabled }}
|
|
- image: "{{ .Values.global.azure.images.manager.registry }}/{{ .Values.global.azure.images.manager.image }}:{{ .Values.global.azure.images.manager.tag }}"
|
|
- {{- else }}
|
|
- {{- if eq .Values.registry "registry.neuvector.com" }}
|
|
- {{- if .Values.oem }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.oem }}/manager:{{ .Values.tag }}"
|
|
- {{- else }}
|
|
- image: "{{ .Values.registry }}/manager:{{ .Values.tag }}"
|
|
- {{- end }}
|
|
- {{- else }}
|
|
- {{- if .Values.manager.image.hash }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.manager.image.repository }}@{{ .Values.manager.image.hash }}"
|
|
- {{- else }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.manager.image.repository }}:{{ .Values.tag }}"
|
|
- {{- end }}
|
|
- {{- end }}
|
|
- {{- end }}
|
|
+ image: {{ template "system_default_registry" . }}{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}
|
|
ports:
|
|
- name: http
|
|
containerPort: 8443
|