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

34 lines
1.2 KiB
Diff
Raw Normal View History

--- charts-original/templates/deployment.yaml
+++ charts/templates/deployment.yaml
@@ -33,7 +33,7 @@
{{- end }}
containers:
- name: {{ .Chart.Name }}
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+ image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
args:
{{- range .Values.extraArgs }}
- {{ . }}
@@ -44,18 +44,10 @@
ports:
- name: http
containerPort: {{ .Values.http.port }}
- {{- with .Values.env }}
- env: {{ toYaml . | nindent 12 }}
- {{- end }}
- {{- if .Values.securityContext }}
+
+ {{- if .Values.securityContext }}
securityContext: {{ toYaml .Values.securityContext | nindent 12 }}
- {{- end }}
- {{- with .Values.volumeMounts }}
- volumeMounts: {{ toYaml . | nindent 12 }}
- {{- end }}
- {{- with .Values.volumes }}
- volumes: {{ toYaml . | nindent 8 }}
- {{- end }}
+ {{- end }}
{{- if .Values.podSecurityContext }}
securityContext: {{ toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}