feat(v1.0.1): ajout extraEnvFrom pour référencer Secrets K8s existants (migration legacy pré-Vault)

This commit is contained in:
dahoud
2026-04-22 14:51:06 +00:00
parent ab865631fe
commit c09fec1125
3 changed files with 19 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- if or (and .Values.configMap.enabled .Values.configMap.envFrom (gt (len (keys .Values.configMap.data)) 0)) .Values.externalSecret.enabled }}
{{- if or (and .Values.configMap.enabled .Values.configMap.envFrom (gt (len (keys .Values.configMap.data)) 0)) .Values.externalSecret.enabled .Values.extraEnvFrom }}
envFrom:
{{- if and .Values.configMap.enabled .Values.configMap.envFrom (gt (len (keys .Values.configMap.data)) 0) }}
- configMapRef:
@@ -77,6 +77,9 @@ spec:
- secretRef:
name: {{ include "lions-app.secretName" . }}
{{- end }}
{{- with .Values.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- if .Values.probes.startup.enabled }}
startupProbe: