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

This commit is contained in:
Thomas Miceli
2025-05-09 20:08:25 +02:00
committed by GitHub
parent 897dc43790
commit 75e71fd042
3 changed files with 9 additions and 2 deletions

View File

@@ -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: