Created
June 16, 2023 09:54
-
-
Save bruceherve/62474b37e5a136c1b202ad5da5861cfe to your computer and use it in GitHub Desktop.
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
for app in $(kubectl get applications --output=jsonpath={.items..metadata.name}); do \ | |
echo $app &&\ | |
kubectl patch app $app --type json -p='[{"op": "remove", "path": "/metadata/finalizers"}]'; \ | |
kubectl delete $app; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment