Skip to content

Commit 5b03183

Browse files
authored
Merge pull request #6 from gitops-bridge-dev/private-git-fix1
Private git fix1
2 parents d2b0dc7 + c173a58 commit 5b03183

File tree

3 files changed

+4
-126
lines changed

3 files changed

+4
-126
lines changed

argocd/iac/terraform/examples/eks/private-git/destroy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set -x
44

55
# Delete the Ingress/SVC before removing the addons
66
TMPFILE=$(mktemp)
7-
terraform output -raw configure_kubectl > "$TMPFILE"
8-
source "$TMPFILE"
7+
#terraform output -raw configure_kubectl > "$TMPFILE"
8+
#source "$TMPFILE"
99

1010
kubectl delete svc -n argocd argo-cd-argocd-server
11-
11+
terraform state rm kubernetes_namespace.argocd
1212
terraform destroy -target="module.gitops_bridge_bootstrap" -auto-approve
1313
terraform destroy -target="module.eks_blueprints_addons" -auto-approve
1414
terraform destroy -target="module.eks" -auto-approve

argocd/iac/terraform/examples/eks/private-git/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ resource "kubernetes_secret" "git_secrets" {
151151
}
152152
git-workloads = {
153153
type = "git"
154-
url = local.gitops_addons_org
154+
url = local.gitops_workloads_org
155155
sshPrivateKey = file(pathexpand(local.git_private_ssh_key))
156156
}
157157
}

argocd/iac/terraform/examples/eks/private-git/tes.yaml

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)