Skip to content

Commit

Permalink
fix: allow k8s to force state
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswuerbach committed Jun 28, 2024
1 parent 3755397 commit 19e056b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/cd-argocd/argocd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ resource "kubernetes_manifest" "argocd_instance" {
REPO_CREDENTIALS_SECRET = local.argocd_manifests_repo_credentials_secret_name,
}))

field_manager {
force_conflicts = true
}

depends_on = [
kubernetes_secret_v1.argocd_manifests_repo_credentials,
time_sleep.argocd_operator_ready,
Expand All @@ -70,6 +74,10 @@ resource "kubernetes_manifest" "argocd_applicationset" {
REPO_URL = local.git_url,
}))

field_manager {
force_conflicts = true
}

depends_on = [
time_sleep.argocd_instance_ready,
]
Expand Down

0 comments on commit 19e056b

Please sign in to comment.