Skip to content

Commit

Permalink
Update EKS deployment script to clarify envsubst usage for EASI_INGRESS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdwoodson committed Dec 12, 2024
1 parent 0a111a8 commit e4bf0c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/deploy_eks_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4bf0c5

Please sign in to comment.