Created
January 19, 2024 15:57
-
-
Save guilhermelinhares/6d986f7c57ed178bc84daa7332c0dee5 to your computer and use it in GitHub Desktop.
Frozen namespace terminating..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get namespace "$NAMESPACE_NAME" -o json \ | |
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \ | |
| kubectl replace --raw /api/v1/namespaces/$NAMESPACE_NAME/finalize -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment