Fix envsubst invocation in deploy.sh

This commit is contained in:
2026-06-27 17:14:34 -05:00
parent b338354d74
commit 1fed6dacad
+2 -2
View File
@@ -54,13 +54,13 @@ if [ -n "${REGISTRY_USER:-}" ] && [ -n "${REGISTRY_PASS:-}" ]; then
REGISTRY_AUTH="$(printf '%s:%s' "$REGISTRY_USER" "$REGISTRY_PASS" | base64 -w 0)"
export REGISTRY_USER REGISTRY_PASS REGISTRY_AUTH
echo "==> Updating registry pull secret ..."
envsubst \u003c "./k8s/registry-secret.yaml" | kubectl apply -f -
envsubst < "./k8s/registry-secret.yaml" | kubectl apply -f -
fi
# Update image tag in manifest and apply
export TAG
export NAMESPACE
envsubst \u003c "./k8s/app.yaml" | kubectl apply -f -
envsubst < "./k8s/app.yaml" | kubectl apply -f -
# Wait for rollout
echo "==> Waiting for rollout ..."