Skip to content

Commit

Permalink
Use full resource name for function & task
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainemruz committed Jul 4, 2019
1 parent e74b4e8 commit bd56e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/stash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd56e6f

Please sign in to comment.