Skip to content

Commit 110686c

Browse files
committed
feat: allow template inside values.yaml for envFrom secret name
1 parent 90d09f7 commit 110686c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ spec:
138138
{{- end }}
139139
{{- end }}
140140
{{- if .Values.plone.envFrom }}
141+
{{- with .Values.plone.envFrom }}
141142
envFrom:
142-
{{- toYaml .Values.plone.envFrom | nindent 12 }}
143+
{{- tpl (toYaml .) $ | nindent 12 }}
144+
{{- end }}
143145
{{- end }}
144146
{{- with .Values.livenessProbe }}
145147
livenessProbe:

0 commit comments

Comments
 (0)