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

38 lines
1.3 KiB
Diff

--- 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,18 @@
ports:
- name: http
containerPort: {{ .Values.http.port }}
- {{- with .Values.env }}
+ {{- with .Values.env }}
env: {{ toYaml . | nindent 12 }}
- {{- end }}
- {{- if .Values.securityContext }}
+ {{- end }}
+ {{- if .Values.securityContext }}
securityContext: {{ toYaml .Values.securityContext | nindent 12 }}
- {{- end }}
- {{- with .Values.volumeMounts }}
+ {{- end }}
+ {{- with .Values.volumeMounts }}
volumeMounts: {{ toYaml . | nindent 12 }}
{{- end }}
- {{- with .Values.volumes }}
+ {{- with .Values.volumes }}
volumes: {{ toYaml . | nindent 8 }}
- {{- end }}
+ {{- end }}
{{- if .Values.podSecurityContext }}
securityContext: {{ toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}