-
-
Save umardx/68563e15ff1b9db7942d47ee6709cd49 to your computer and use it in GitHub Desktop.
Delete Terminating Namespace
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 "terminating-namespace" -o json \ | |
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \ | |
| kubectl replace --raw /api/v1/namespaces/terminating-namespace/finalize -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment