diff --git a/scripts/deploy_eks_env.sh b/scripts/deploy_eks_env.sh index 372bc097f..b75d73fe2 100755 --- a/scripts/deploy_eks_env.sh +++ b/scripts/deploy_eks_env.sh @@ -112,7 +112,10 @@ export EMAIL_INGRESS kustomize edit set image easi-backend=840301899071.dkr.ecr.us-west-2.amazonaws.com/easi-backend:"$GIT_HASH" kustomize edit set image easi-frontend=840301899071.dkr.ecr.us-west-2.amazonaws.com/easi-frontend:"$GIT_HASH" kustomize edit set image db-migrate=840301899071.dkr.ecr.us-west-2.amazonaws.com/easi-db-migrate:"$GIT_HASH" - kustomize build | envsubst '$EASI_INGRESS,$MINIO_CONSOLE_INGRESS,$EMAIL_INGRESS' > manifest-easi.yaml + + # IMPORTANT NOTE: + # envsubst is needed here to replace the EASI_INGRESS placeholder variable in /deploy/overlays/pr/easi-backend_configmap.yaml + kustomize build | envsubst '$EASI_INGRESS' > manifest-easi.yaml # if verbose, print out the kustomization.yaml and manifest-easi.yaml if [ "$VERBOSE" = true ]; then