Last active
September 25, 2019 10:55
-
-
Save oskapt/feae48cb2ac2e8a7ee936f9877100cd4 to your computer and use it in GitHub Desktop.
Revisions
-
oskapt revised this gist
Sep 25, 2019 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,11 @@ kubectl get authorizationrolebinding.auth.containership.io \ | tail -n +2 | awk '{ print $1 }' | while read x; do kubectl get -o yaml authorizationrolebinding.auth.containership.io/$x -o json | jq '.metadata.finalizers=[]' \ | kubectl apply -f -; done kubectl get authorizationrole.auth.containership.io \ | tail -n +2 | awk '{ print $1 }' | while read x; do kubectl get -o yaml authorizationrole.auth.containership.io/$x -o json | jq '.metadata.finalizers=[]' \ | kubectl apply -f -; done -
oskapt created this gist
Sep 25, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ kubectl get authorizationrolebinding.auth.containership.io | tail -n +2 | awk '{ print $1 }' | while read x; do kubectl get -o yaml authorizationrolebinding.auth.containership.io/$x -o json | jq '.metadata.finalizers=[]' | kubectl apply -f -; done kubectl get authorizationrole.auth.containership.io | tail -n +2 | awk '{ print $1 }' | while read x; do kubectl get -o yaml authorizationrole.auth.containership.io/$x -o json | jq '.metadata.finalizers=[]' | kubectl apply -f -; done