mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
Parse environment variables through tpl
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: template
|
name: template
|
||||||
description: A Helm library chart containing common templates, keeping application templates short
|
description: A Helm library chart containing common templates, keeping application templates short
|
||||||
type: library
|
type: library
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Jim Martens
|
- name: Jim Martens
|
||||||
url: https://2martens.de
|
url: https://2martens.de
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
{{- range .Values.environment }}
|
{{- range .Values.environment }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ tpl (quote .value) $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
Reference in New Issue
Block a user