Skip to content

Commit

Permalink
Purge repository objects in installer (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Apr 10, 2018
1 parent a25ff45 commit 4a08b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/deploy/stash.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -eou pipefail

crds=(restics recoveries)
crds=(restics repositories recoveries)

echo "checking kubeconfig context"
kubectl config current-context || { echo "Set a context (kubectl use-context <context>) out of the following:"; echo; kubectl config get-contexts; exit 1; }
Expand Down Expand Up @@ -57,8 +57,8 @@ export STASH_IMAGE_PULL_SECRET=
export STASH_ENABLE_ANALYTICS=true
export STASH_UNINSTALL=0
export STASH_PURGE=0
export APPSCODE_ENV=${APPSCODE_ENV:-prod}

export APPSCODE_ENV=${APPSCODE_ENV:-prod}
export SCRIPT_LOCATION="curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.3/"
if [ "$APPSCODE_ENV" = "dev" ]; then
export SCRIPT_LOCATION="cat "
Expand Down

0 comments on commit 4a08b91

Please sign in to comment.