Close S5 app readiness workplan

This commit is contained in:
2026-06-05 17:59:35 +02:00
parent 3e2eae6b14
commit 9c2713f9c4
8 changed files with 376 additions and 32 deletions

View File

@@ -17,9 +17,16 @@ for cmd in kubectl helm; do
fi
done
kubectl api-resources >/dev/null
echo "server dry-run: checking Kubernetes API discovery"
if ! kubectl api-resources >/dev/null; then
echo "ERROR: cannot reach a representative Kubernetes API server" >&2
echo "Check kubeconfig, runner placement, and cluster access prerequisites." >&2
echo "See docs/manifest-server-dry-run.md." >&2
exit 1
fi
if [[ "$DRY_RUN_CREATE_NAMESPACES" == "true" ]]; then
echo "server dry-run: ensuring namespace $VERGABE_NAMESPACE exists"
kubectl create namespace "$VERGABE_NAMESPACE" --dry-run=client -o yaml | kubectl apply -f -
fi