Added additional environment vars
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.6.1"
|
HELM_CHART_VERSION: "0.6.2"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -32,7 +32,11 @@ data:
|
|||||||
IMPORT_DATABASE: {{ .Values.site.init.database.url }}
|
IMPORT_DATABASE: {{ .Values.site.init.database.url }}
|
||||||
FORCE_IMPORT_DB: {{ .Values.site.init.database.force | default "false" | quote }}
|
FORCE_IMPORT_DB: {{ .Values.site.init.database.force | default "false" | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.site.additional_env }}
|
||||||
|
{{- range $k, $v := .Values.site.additional_env }}
|
||||||
|
{{ $k }}: {{ $v }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
---
|
---
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ site:
|
|||||||
# The main URL for the website
|
# The main URL for the website
|
||||||
url: "www.mycustomer.com"
|
url: "www.mycustomer.com"
|
||||||
|
|
||||||
|
# Additional environment variables to pass to the container
|
||||||
|
additional_env: {}
|
||||||
|
# MY_ENV_VAR: "value"
|
||||||
|
|
||||||
# Create sites with another main domain for WP,
|
# Create sites with another main domain for WP,
|
||||||
# but the rest of the components named according to site-tld
|
# but the rest of the components named according to site-tld
|
||||||
# overrideMainUrl: ""
|
# overrideMainUrl: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user