mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Fixed oversight of populating environment in deployment only if secrets is populated
This commit is contained in:
@@ -41,7 +41,7 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.secrets }}
|
||||
{{- if or .Values.secrets .Values.vault.enabled }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "template.fullname" . }}
|
||||
|
||||
Reference in New Issue
Block a user