fix(cd): ensure workclub-dev namespace exists before deployment
This commit is contained in:
@@ -79,5 +79,9 @@ jobs:
|
||||
fi
|
||||
|
||||
echo "Current context: $(kubectl config current-context)"
|
||||
|
||||
# Ensure target namespace exists
|
||||
kubectl create namespace workclub-dev --dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
kubectl config view --minify # Verification of context
|
||||
kubectl apply -k infra/k8s/overlays/dev
|
||||
|
||||
Reference in New Issue
Block a user