Skip to content

Commit

Permalink
fix: add conditional statement in clean up script
Browse files Browse the repository at this point in the history
  • Loading branch information
NEM-NE committed Sep 14, 2022
1 parent b5dcd49 commit 14e71ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions live/clean-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ kubectl delete -f $SO1S_DEPLOY_REPO_PATH/project/project-$SO1S_ENV_NAME.yaml --w

helm uninstall argocd -n argocd --wait

helm uninstall external-dns -n kube-system --wait
helm uninstall alb -n kube-system --wait
if [ $SO1S_ENV_NUMBER -eq 1 ]; then
helm uninstall external-dns -n kube-system --wait
helm uninstall alb -n kube-system --wait
fi

terraform destroy -var="global_name=$SO1S_GLOBAL_NAME"

0 comments on commit 14e71ff

Please sign in to comment.