From bd56e6face7869ff310423755e032bd59db1c0e2 Mon Sep 17 00:00:00 2001 From: hossainemruz Date: Thu, 4 Jul 2019 10:18:36 +0600 Subject: [PATCH] Use full resource name for function & task --- deploy/stash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/stash.sh b/deploy/stash.sh index 38cb02bb6..7f7932685 100755 --- a/deploy/stash.sh +++ b/deploy/stash.sh @@ -352,9 +352,9 @@ if [ "$STASH_UNINSTALL" -eq 1 ]; then # delete psp resources kubectl delete psp stash-operator-psp stash-backup-job stash-backupsession-cron stash-restore-job || true # delete default functions - kubectl delete function update-status pvc-backup pvc-restore || true + kubectl delete functions.stash.appscode.com update-status pvc-backup pvc-restore || true # delete default tasks - kubectl delete task pvc-backup pvc-restore || true + kubectl delete tasks.stash.appscode.com pvc-backup pvc-restore || true echo "waiting for stash operator pod to stop running" for (( ; ; )); do