ci: remove unused function

remove unused function from the
install-snapshot script

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-02-15 13:20:02 +01:00 committed by mergify[bot]
parent 98b2a32767
commit 11031091ef

View File

@ -98,12 +98,6 @@ function create_or_delete_resource() {
kubectl "${operation}" -f "${VOLUME_SNAPSHOT}" kubectl "${operation}" -f "${VOLUME_SNAPSHOT}"
} }
function delete_snapshot_crd() {
kubectl delete -f "${SNAPSHOTCLASS}" --ignore-not-found
kubectl delete -f "${VOLUME_SNAPSHOT_CONTENT}" --ignore-not-found
kubectl delete -f "${VOLUME_SNAPSHOT}" --ignore-not-found
}
case "${1:-}" in case "${1:-}" in
install) install)
install_snapshot_controller "$2" install_snapshot_controller "$2"