mirror of https://git.rancher.io/charts
29 lines
1001 B
Diff
29 lines
1001 B
Diff
--- charts-original/templates/deployment.yaml
|
|
+++ charts/templates/deployment.yaml
|
|
@@ -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 }}
|