Skip to content

Commit 35d6923

Browse files
committed
Include deployment.yaml with support for custom environment variables from values.yaml
1 parent f014eed commit 35d6923

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helm-chart/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ spec:
188188
name: linode-storage
189189
key: LINODE_ENDPOINT_URL
190190
optional: false
191+
{{- with $.Values.app.env }}
192+
{{- toYaml . | nindent 12 }}
193+
{{- end }}
191194
envFrom:
192195
- configMapRef:
193196
name: app-config

0 commit comments

Comments
 (0)