Created
June 29, 2020 20:47
-
-
Save egeneralov/d18f3195b0bc17cd351f886ff5c1c457 to your computer and use it in GitHub Desktop.
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
kubectl proxy | |
finalize () { | |
kubectl get namespace "$1" -o json > tmp.json | |
sed -i 's/ "kubernetes"//g' tmp.json | |
curl -k -H "Content-Type: application/json" -X PUT --data-binary @tmp.json "http://127.0.0.1:8001/api/v1/namespaces/$1/finalize" | |
rm tmp.json | |
} | |
finalize olm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment