You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo>&2"Complete! WordPress has been successfully copied to $PWD"
29
+
echo>&2" >> YAY! WordPress has been successfully copied to $PWD"
24
30
fi
25
31
26
-
wpEnvs=( "${!WORDPRESS_@}" )
27
-
if [ !-s wp-config.php ] && [ "${#wpEnvs[@]}"-gt 0 ];then
28
-
forwpConfigDockerin \
29
-
wp-config-docker.php \
30
-
/usr/src/wordpress/wp-config-docker.php \
31
-
;do
32
-
if [ -s"$wpConfigDocker" ];then
33
-
echo>&2"No 'wp-config.php' found in $PWD, but 'WORDPRESS_...' variables supplied; copying '$wpConfigDocker' (${wpEnvs[*]})"
34
-
# using "awk" to replace all instances of "put your unique phrase here" with a properly unique string (for AUTH_KEY and friends to have safe defaults if they aren't specified with environment variables)
value: "http{{ if eq .Values.wordpress.https "on" }}s{{ end }}://{{ .Values.wordpress.domain }}{{ if not (eq .Values.wordpress.publicPort "443") }}:{{ .Values.wordpress.publicPort }}{{ end }}"
151
+
value: "http{{ if eq .Values.wordpress.https "on" }}s{{ end }}://{{ .Values.wordpress.domain }}{{ if not (eq (.Values.wordpress.publicPort | toString) "443") }}:{{ .Values.wordpress.publicPort }}{{ end }}"
142
152
{{- end }}
143
153
144
154
{{- if not (hasKey .Values.env "HEALTH_CHECK_ALLOWED_SUBNET") }}
0 commit comments