Skip to content

Commit

Permalink
fixed storefront internal endpoint env variable (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin authored Jul 19, 2023
1 parent e130240 commit aa0248f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/parts/environment-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}]"

0 comments on commit aa0248f

Please sign in to comment.