Created
February 18, 2020 21:49
-
-
Save Oats87/ef581310361cdc328dbaa4c1c8913980 to your computer and use it in GitHub Desktop.
delete states
This file contains hidden or 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
for i in $(kubectl get state -n hobbyfarm | awk '{print $1}' | grep -v "NAME"); do kubectl -n hobbyfarm patch state $i -p '{"metadata":{"finalizers": []}}' --type=merge; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment