diff --git a/content/docs/1.5.0/deploy/uninstall/_index.md b/content/docs/1.5.0/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.0/deploy/uninstall/_index.md +++ b/content/docs/1.5.0/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.1/deploy/uninstall/_index.md b/content/docs/1.5.1/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.1/deploy/uninstall/_index.md +++ b/content/docs/1.5.1/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.2/deploy/uninstall/_index.md b/content/docs/1.5.2/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.2/deploy/uninstall/_index.md +++ b/content/docs/1.5.2/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.3/deploy/uninstall/_index.md b/content/docs/1.5.3/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.3/deploy/uninstall/_index.md +++ b/content/docs/1.5.3/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.4/deploy/uninstall/_index.md b/content/docs/1.5.4/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.4/deploy/uninstall/_index.md +++ b/content/docs/1.5.4/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.5/deploy/uninstall/_index.md b/content/docs/1.5.5/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.5/deploy/uninstall/_index.md +++ b/content/docs/1.5.5/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.5.6/deploy/uninstall/_index.md b/content/docs/1.5.6/deploy/uninstall/_index.md index d2273cb5c..11a44694e 100644 --- a/content/docs/1.5.6/deploy/uninstall/_index.md +++ b/content/docs/1.5.6/deploy/uninstall/_index.md @@ -119,8 +119,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.6.0/deploy/uninstall/_index.md b/content/docs/1.6.0/deploy/uninstall/_index.md index a621dfe67..a95b215bf 100644 --- a/content/docs/1.6.0/deploy/uninstall/_index.md +++ b/content/docs/1.6.0/deploy/uninstall/_index.md @@ -148,8 +148,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.6.1/deploy/uninstall/_index.md b/content/docs/1.6.1/deploy/uninstall/_index.md index a621dfe67..a95b215bf 100644 --- a/content/docs/1.6.1/deploy/uninstall/_index.md +++ b/content/docs/1.6.1/deploy/uninstall/_index.md @@ -148,8 +148,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.6.2/deploy/uninstall/_index.md b/content/docs/1.6.2/deploy/uninstall/_index.md index 5331f696b..bf5a25a3d 100644 --- a/content/docs/1.6.2/deploy/uninstall/_index.md +++ b/content/docs/1.6.2/deploy/uninstall/_index.md @@ -122,8 +122,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.6.3/deploy/uninstall/_index.md b/content/docs/1.6.3/deploy/uninstall/_index.md index 5331f696b..bf5a25a3d 100644 --- a/content/docs/1.6.3/deploy/uninstall/_index.md +++ b/content/docs/1.6.3/deploy/uninstall/_index.md @@ -122,8 +122,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done diff --git a/content/docs/1.7.0/deploy/uninstall/_index.md b/content/docs/1.7.0/deploy/uninstall/_index.md index a621dfe67..a95b215bf 100644 --- a/content/docs/1.7.0/deploy/uninstall/_index.md +++ b/content/docs/1.7.0/deploy/uninstall/_index.md @@ -148,8 +148,8 @@ If your CRD instances or the CRDs themselves can't be deleted for whatever reaso ```shell # Delete CRD finalizers, instances and definitions -for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do - kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f - +for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.io); do + kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.io//g" | kubectl apply -f - kubectl -n ${NAMESPACE} delete $crd --all kubectl delete crd/$crd done