Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Aug 23, 2024
1 parent 114ed72 commit 174a7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 1 addition & 6 deletions manifests/argocd/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: argocd
---
# apiVersion: v1
# kind: Namespace
# metadata:
# name: blog-app
name: argocd
4 changes: 1 addition & 3 deletions terraform/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ data "kubectl_file_documents" "apps" {

resource "kubectl_manifest" "apps" {
# Needs to depend on argocd deployment, since we'll configure it after deployment finishes
depends_on = [kubectl_manifest.argocd,
#kubectl_manifest.gcpsm-secret # GCP access credentials (service account) should be deployed first, so that blog-app will be able to retrieve secrets
]
depends_on = [kubectl_manifest.argocd]
# for_each iterates over each manifest in the namespace file
for_each = data.kubectl_file_documents.apps.manifests
# Applies the content of each manifest to the Kubernetes cluster
Expand Down

0 comments on commit 174a7f9

Please sign in to comment.