mirror of https://git.rancher.io/charts
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
--- charts-original/templates/manager-deployment.yaml
|
|
+++ charts/templates/manager-deployment.yaml
|
|
@@ -46,19 +46,7 @@
|
|
serviceAccount: {{ .Values.serviceAccount }}
|
|
containers:
|
|
- name: neuvector-manager-pod
|
|
- {{ 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 }}
|
|
+ image: {{ template "system_default_registry" . }}{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}
|
|
env:
|
|
- name: CTRL_SERVER_IP
|
|
value: neuvector-svc-controller.{{ .Release.Namespace }}
|