Use Helm deployment.env[] values (#471)

هذا الالتزام موجود في:
Thomas Miceli
2025-05-09 20:08:25 +02:00
ملتزم من قبل GitHub
الأصل 897dc43790
التزام 75e71fd042
3 ملفات معدلة مع 9 إضافات و2 حذوفات

عرض الملف

@@ -32,6 +32,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.deployment.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
@@ -49,6 +52,10 @@ spec:
mountPath: /init/config
- name: config-volume
mountPath: /config-volume
{{- if .Values.deployment.env }}
env:
{{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext: