Skip to content

Commit 25b90c8

Browse files
committed
test namespace for prod-deploy sh
1 parent c047c8d commit 25b90c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/scripts/ci-deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,7 @@ clusterArn="${clusterArn}"
6464
aws eks --region us-east-1 update-kubeconfig --name "${clusterName}"
6565
kubectl config use-context "${clusterArn}"
6666

67+
# Ensure namespace exists before deploying
68+
kubectl create namespace "${namespace}" --dry-run=client -o yaml | kubectl apply -f -
69+
6770
install_collector

0 commit comments

Comments
 (0)