Close S5 app readiness workplan
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user