Last active
March 31, 2024 02:27
-
-
Save GuyPaddock/d749ebaed0b209fd7fa81df71d82065f to your computer and use it in GitHub Desktop.
Revisions
-
Guy Elsmore-Paddock revised this gist
Mar 31, 2024 . 1 changed file with 4 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 @@ -4,5 +4,7 @@ set -uo pipefail PATTERN="${1}" echo "${PATTERN}" echo kubectl delete pvc $(kubectl get pvc | grep "${PATTERN}" | awk '{ print $1 }') echo kubectl delete pv $(kubectl get pv | grep "${PATTERN}" | awk '{ print $1 }') -
Guy Elsmore-Paddock revised this gist
Apr 21, 2023 . 1 changed file with 3 additions and 1 deletion.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,6 +1,8 @@ #!/usr/bin/env bash set -uo pipefail PATTERN="${1}" kubectl delete pvc $(kubectl get pvc | grep "${PATTERN}" | awk '{ print $1 }') kubectl delete pv $(kubectl get pv | grep "${PATTERN}" | awk '{ print $1 }') -
Guy Elsmore-Paddock revised this gist
Mar 29, 2023 . 1 changed file with 0 additions and 1 deletion.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,6 +1,5 @@ #!/usr/bin/env bash PATTERN="nextcloud-dev"; kubectl delete pvc $(kubectl get pvc | grep "${PATTERN}" | awk '{ print $1 }') -
Guy Elsmore-Paddock revised this gist
Mar 29, 2023 . 1 changed file with 5 additions and 1 deletion.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,7 @@ #!/usr/bin/env bash PATTERN="nextcloud-dev"; kubectl delete pvc $(kubectl get pvc | grep "${PATTERN}" | awk '{ print $1 }') kubectl delete pv $(kubectl get pv | grep "${PATTERN}" | awk '{ print $1 }') -
Guy Elsmore-Paddock created this gist
Mar 29, 2023 .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 @@ #!/usr/bin/env bash PATTERN="nextcloud-dev"; kubectl delete pv $(kubectl get pv | grep "${PATTERN}" | awk '{ print $1 }')