Skip to content

Commit

Permalink
feat!: add support to oboukili/argocd v5 (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: hbollon <hbollon@users.noreply.github.com>
  • Loading branch information
hbollon and hbollon authored Jul 11, 2023
1 parent f23955b commit a1d25e5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ When using Keycloak as an OIDC provider for the Longhorn Dashboard, you need to

The following requirements are needed by this module:

- [[requirement_argocd]] <<requirement_argocd,argocd>> (>= 4)
- [[requirement_argocd]] <<requirement_argocd,argocd>> (>= 5)

- [[requirement_random]] <<requirement_random,random>> (>= 3)

Expand All @@ -218,7 +218,7 @@ The following providers are used by this module:

- [[provider_utils]] <<provider_utils,utils>> (>= 1)

- [[provider_argocd]] <<provider_argocd,argocd>> (>= 4)
- [[provider_argocd]] <<provider_argocd,argocd>> (>= 5)

- [[provider_null]] <<provider_null,null>>

Expand Down Expand Up @@ -469,7 +469,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_random]] <<requirement_random,random>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand All @@ -481,8 +481,8 @@ Description: ID to pass other modules in order to refer to this module as a depe
|Name |Version
|[[provider_random]] <<provider_random,random>> |>= 3
|[[provider_null]] <<provider_null,null>> |n/a
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 4
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 5
|===
= Resources
Expand Down
15 changes: 10 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,19 @@ resource "argocd_application" "this" {
}

sync_policy {
automated = var.app_autosync
automated {
prune = var.app_autosync.prune
self_heal = var.app_autosync.self_heal
allow_empty = var.app_autosync.allow_empty
}

retry {
backoff = {
duration = ""
max_duration = ""
backoff {
duration = "20s"
max_duration = "2m"
factor = "2"
}
limit = "0"
limit = "5"
}

sync_options = [
Expand Down
2 changes: 1 addition & 1 deletion terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
argocd = {
source = "oboukili/argocd"
version = ">= 4"
version = ">= 5"
}
utils = {
source = "cloudposse/utils"
Expand Down

0 comments on commit a1d25e5

Please sign in to comment.