mirror of https://git.rancher.io/charts
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
--- charts-original/templates/enforcer-daemonset.yaml
|
|
+++ charts/templates/enforcer-daemonset.yaml
|
|
@@ -40,19 +40,7 @@
|
|
serviceAccount: {{ .Values.serviceAccount }}
|
|
containers:
|
|
- name: neuvector-enforcer-pod
|
|
- {{- if eq .Values.registry "registry.neuvector.com" }}
|
|
- {{- if .Values.oem }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.oem }}/enforcer:{{ .Values.tag }}"
|
|
- {{- else }}
|
|
- image: "{{ .Values.registry }}/enforcer:{{ .Values.tag }}"
|
|
- {{- end }}
|
|
- {{- else }}
|
|
- {{- if .Values.enforcer.image.hash }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.enforcer.image.repository }}@{{ .Values.enforcer.image.hash }}"
|
|
- {{- else }}
|
|
- image: "{{ .Values.registry }}/{{ .Values.enforcer.image.repository }}:{{ .Values.tag }}"
|
|
- {{- end }}
|
|
- {{- end }}
|
|
+ image: {{ template "system_default_registry" . }}{{ .Values.enforcer.image.repository }}:{{ .Values.enforcer.image.tag }}
|
|
securityContext:
|
|
privileged: true
|
|
resources:
|