mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-05-07 13:32:38 +00:00
Initial commit
This commit is contained in:
12
scripts/uninstall.sh
Executable file
12
scripts/uninstall.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
echo "Uninstalling synology-csi pods ..."
|
||||
|
||||
plugin_name="csi.san.synology.com"
|
||||
deploy_k8s_version="v1.19"
|
||||
|
||||
SCRIPT_PATH="$(realpath "$0")"
|
||||
SOURCE_PATH="$(realpath "$(dirname "$SCRIPT_PATH")"/../)"
|
||||
|
||||
kubectl delete -f "$SOURCE_PATH"/deploy/kubernetes/$deploy_k8s_version/snapshotter --ignore-not-found
|
||||
kubectl delete -f "$SOURCE_PATH"/deploy/kubernetes/$deploy_k8s_version --ignore-not-found
|
||||
echo "End of synology-csi uninstallation."
|
||||
Reference in New Issue
Block a user