From aa0248f199890cea4498636f0bd4f8ec8e20c4ea Mon Sep 17 00:00:00 2001 From: Martin Grossmann Date: Wed, 19 Jul 2023 09:56:24 +0200 Subject: [PATCH] fixed storefront internal endpoint env variable (#1) --- deploy/parts/environment-variables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/parts/environment-variables.sh b/deploy/parts/environment-variables.sh index c4664ae..39ceb66 100644 --- a/deploy/parts/environment-variables.sh +++ b/deploy/parts/environment-variables.sh @@ -78,8 +78,8 @@ for DOMAIN in ${DOMAINS[@]}; do ITERATOR=$(expr $ITERATOR + 1) done -yq write --inplace "${CONFIGURATION_TARGET_PATH}/deployments/storefront.yaml" "spec.template.spec.containers[0].env[${ITERATOR}].name" "\"INTERNAL_GRAPHQL_ENDPOINT\"" -yq write --inplace "${CONFIGURATION_TARGET_PATH}/deployments/storefront.yaml" "spec.template.spec.containers[0].env[${ITERATOR}].value" "\"http://webserver-php-fpm:8080/graphql/\"" +yq write --inplace "${CONFIGURATION_TARGET_PATH}/deployments/storefront.yaml" "spec.template.spec.containers[0].env[${ITERATOR}].name" "\"INTERNAL_ENDPOINT\"" +yq write --inplace "${CONFIGURATION_TARGET_PATH}/deployments/storefront.yaml" "spec.template.spec.containers[0].env[${ITERATOR}].value" "\"http://webserver-php-fpm:8080/\"" echo -e "[${GREEN}OK${NO_COLOR}]"