1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-06-14 18:53:35 +00:00
Files
.github
actions
api
assets
charts
cmd
deploy
docs
e2e
examples
cephfs
deployment.yaml
exec-bash.sh
logs.sh
plugin-deploy.sh
plugin-teardown.sh
pod-clone.yaml
pod-ephemeral.yaml
pod-restore.yaml
pod-rwop.yaml
pod.yaml
pvc-clone.yaml
pvc-restore.yaml
pvc-rwop.yaml
pvc.yaml
secret.yaml
snapshot.yaml
snapshotclass.yaml
storageclass.yaml
kms
nfs
rbd
README.md
internal
redhat
scripts
tools
troubleshooting
vendor
.commitlintrc.yml
.gitignore
.mergify.yml
.pre-commit-config.yaml
LICENSE
Makefile
OWNERS
OWNERS_ALIASES
PendingReleaseNotes.md
README.md
build.env
deploy.sh
go.mod
go.sum
ceph-csi/examples/cephfs/plugin-teardown.sh

16 lines
351 B
Bash
Raw Normal View History

2018-07-18 16:49:15 +02:00
#!/bin/bash
deployment_base="${1}"
if [[ -z $deployment_base ]]; then
deployment_base="../../deploy/cephfs/kubernetes"
2018-07-18 16:49:15 +02:00
fi
cd "$deployment_base" || exit 1
objects=(csi-cephfsplugin-provisioner csi-cephfsplugin csi-config-map csi-provisioner-rbac csi-nodeplugin-rbac csidriver)
2018-07-18 16:49:15 +02:00
for obj in "${objects[@]}"; do
2018-07-18 16:49:15 +02:00
kubectl delete -f "./$obj.yaml"
done