6d224861 came from a --no-checkout worktree whose empty index made the
commit drop every file except two. This restores 05b50d2b's full tree and
correctly adds stacks/stem95su/gdrive-sync.tf + the service-catalog stem95su
entry. Forward-only (parent=6d224861, no force-push); [ci skip] since the
live infra was never applied from the broken commit.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
383 B
Bash
Executable file
12 lines
383 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
NAMESPACE=$1
|
|
if [ -z "$NAMESPACE" ]; then
|
|
echo "Pass in parameter namespace"
|
|
exit 1
|
|
fi
|
|
kubectl proxy &
|
|
kubectl get namespace $NAMESPACE -o json |jq '.spec = {"finalizers":[]}' > /tmp/kill_rogue_ns.json
|
|
curl -k -H "Content-Type: application/json" -X PUT --data-binary @/tmp/kill_rogue_ns.json 127.0.0.1:8001/api/v1/namespaces/$NAMESPACE/finalize
|
|
kill %1
|