UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 8f52832f authored by runyontr's avatar runyontr
Browse files

Merge branch 'feature/remove-ns-finalizer' into 'master'

Add hack script for removing NS finalizer for stuck namespaces

See merge request platform-one/big-bang/umbrella!80
parents 087284f1 d8dea94c
No related branches found
No related tags found
1 merge request!80Add hack script for removing NS finalizer for stuck namespaces
Pipeline #100515 passed
#!/bin/sh
NS=$1
shift
kubectl get ns $NS -o json | jq '.spec.finalizers = []' | kubectl replace --raw "/api/v1/namespaces/$NS/finalize" -f -
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment