Skip to content

Commit

Permalink
fix: delete when deleting, not apply! 🤦‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
metacosm committed Jan 23, 2020
1 parent 6b6d904 commit 76646f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/halkyon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if [ "$delete" != delete ]; then
kubectl apply -n "${namespace}" -f deploy/namespaced
else
echo "Deleting Halkyon from namespace ${namespace}"
kubectl apply -f deploy/cluster-wide
kubectl apply -n "${namespace}" -f deploy/namespaced
kubectl delete -n "${namespace}" -f deploy/namespaced
kubectl delete -R -f deploy/cluster-wide
if [ "$ns" == yes ]; then
echo "Deleting namespace"
kubectl delete ns "${namespace}"
Expand Down

0 comments on commit 76646f9

Please sign in to comment.