From e4bf0c56ce49c3f9db9b0bf7bd143842489146f2 Mon Sep 17 00:00:00 2001 From: Justin Woodson Date: Thu, 12 Dec 2024 14:47:40 -0500 Subject: [PATCH] Update EKS deployment script to clarify envsubst usage for EASI_INGRESS --- scripts/deploy_eks_env.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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