rancher-charts/packages/neuvector/generated-changes/patch/templates/manager-deployment.yaml.patch

24 lines
1.1 KiB
Diff
Raw Normal View History

2022-04-13 18:27:53 +00:00
--- 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 }}