Deleting a Storage Backend
Do not delete a storage backend when a volume management operation is being performed on it.
Delete the StorageBackendClaim.
kubectl delete sbc backend-demo -n huawei-csiAfter the StorageBackendClaim is deleted, the controller automatically deletes the associated StorageBackendContent.
Check whether StorageBackendContent is deleted.
kubectl get sbctIf the associated StorageBackendContent is no longer listed, the deletion is successful.
Run the following commands to manually delete the associated ConfigMap and secret:
kubectl delete configmap backend-demo -n huawei-csi kubectl delete secret backend-demo -n huawei-csi