From c60267b65de1ae019601653a37235913b8ea17b3 Mon Sep 17 00:00:00 2001 From: Carlos Santana Date: Fri, 27 Oct 2023 01:27:44 -0400 Subject: [PATCH] update destroy scropt Signed-off-by: Carlos Santana --- patterns/gitops/getting-started-argocd/destroy.sh | 4 ++-- patterns/gitops/getting-started-argocd/main.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patterns/gitops/getting-started-argocd/destroy.sh b/patterns/gitops/getting-started-argocd/destroy.sh index b2a3d8b32b..79d24cd4d6 100755 --- a/patterns/gitops/getting-started-argocd/destroy.sh +++ b/patterns/gitops/getting-started-argocd/destroy.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -euo pipefail +set -uo pipefail SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR="$(cd ${SCRIPTDIR}/../..; pwd )" @@ -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 diff --git a/patterns/gitops/getting-started-argocd/main.tf b/patterns/gitops/getting-started-argocd/main.tf index e189be2165..cd870cada8 100644 --- a/patterns/gitops/getting-started-argocd/main.tf +++ b/patterns/gitops/getting-started-argocd/main.tf @@ -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") }