Added override for environment
This commit is contained in:
@@ -28,7 +28,12 @@ data:
|
||||
SMTP_FROM_NAME: "V3 Customer Mailer"
|
||||
{{- end }}
|
||||
|
||||
{{- if and .Values.site .Values.site.overrideEnvironment }}
|
||||
WP_ENV: "{{ .Values.site.overrideEnvironment }}"
|
||||
{{- else }}
|
||||
WP_ENV: "production"
|
||||
{{- endif }}
|
||||
|
||||
{{- if .Values.site.overrideMainUrl }}
|
||||
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
||||
{{- else }}
|
||||
|
||||
Reference in New Issue
Block a user