Skip to content

Commit

Permalink
update destroy scropt
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Santana <[email protected]>
  • Loading branch information
csantanapr committed Oct 27, 2023
1 parent 3e9198f commit c60267b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions patterns/gitops/getting-started-argocd/destroy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -euo pipefail
set -uo pipefail

SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOTDIR="$(cd ${SCRIPTDIR}/../..; pwd )"
Expand All @@ -14,7 +14,7 @@ if [[ ! $(cat $TMPFILE) == *"No outputs found"* ]]; then
source "$TMPFILE"
kubectl delete -n argocd applicationset workloads
echo "Waiting for ingress and load balancer to be deleted"
sleep 240
sleep 120
kubectl delete -n argocd applicationset cluster-addons
kubectl delete -n argocd applicationset addons-argocd
kubectl delete -n argocd svc argo-cd-argocd-server
Expand Down
2 changes: 1 addition & 1 deletion patterns/gitops/getting-started-argocd/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ locals {
)

argocd_apps = {
# Uncomment to deploy GitOps bootstrap from Terraform, instead of kubectl (Recommended)
# Uncomment to deploy GitOps bootstrap from Terraform, instead of kubectl
# addons = file("${path.module}/bootstrap/addons.yaml")
# workloads = file("${path.module}/bootstrap/workloads.yaml")
}
Expand Down

0 comments on commit c60267b

Please sign in to comment.