diff --git a/README.adoc b/README.adoc index d428aed..12fbb3a 100644 --- a/README.adoc +++ b/README.adoc @@ -24,7 +24,7 @@ Below you will only find the technical reference automatically generated from th The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -34,11 +34,11 @@ The following requirements are needed by this module: The following providers are used by this module: -- [[provider_utils]] <> (>= 1) +- [[provider_null]] <> (>= 3) -- [[provider_argocd]] <> (>= 4) +- [[provider_argocd]] <> (>= 5) -- [[provider_null]] <> (>= 3) +- [[provider_utils]] <> (>= 1) === Resources @@ -68,7 +68,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -178,7 +178,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -189,7 +189,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |=== |Name |Version |[[provider_utils]] <> |>= 1 -|[[provider_argocd]] <> |>= 4 +|[[provider_argocd]] <> |>= 5 |[[provider_null]] <> |>= 3 |=== @@ -219,7 +219,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/aks/README.adoc b/aks/README.adoc index 47ba2a7..6a16aa2 100644 --- a/aks/README.adoc +++ b/aks/README.adoc @@ -3,7 +3,7 @@ The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -88,7 +88,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -192,7 +192,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -270,7 +270,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/eks/README.adoc b/eks/README.adoc index bb6aba4..d15ab42 100644 --- a/eks/README.adoc +++ b/eks/README.adoc @@ -3,7 +3,7 @@ The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -88,7 +88,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -192,7 +192,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -263,7 +263,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/main.tf b/main.tf index e9b3a90..66385e2 100644 --- a/main.tf +++ b/main.tf @@ -74,15 +74,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 { - limit = "5" - backoff = { - duration = "30s" + backoff { + duration = "20s" max_duration = "2m" factor = "2" } + limit = "5" } sync_options = [ diff --git a/scaleway/README.adoc b/scaleway/README.adoc index 24930c3..5ca048e 100644 --- a/scaleway/README.adoc +++ b/scaleway/README.adoc @@ -3,7 +3,7 @@ The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -37,7 +37,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -141,7 +141,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -168,7 +168,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/self-signed/README.adoc b/self-signed/README.adoc index 1e2cd7d..624a564 100644 --- a/self-signed/README.adoc +++ b/self-signed/README.adoc @@ -3,7 +3,7 @@ The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -50,7 +50,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -154,7 +154,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -198,7 +198,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/sks/README.adoc b/sks/README.adoc index 14d00cb..1e52e34 100644 --- a/sks/README.adoc +++ b/sks/README.adoc @@ -3,7 +3,7 @@ The following requirements are needed by this module: -- [[requirement_argocd]] <> (>= 4) +- [[requirement_argocd]] <> (>= 5) - [[requirement_null]] <> (>= 3) @@ -37,7 +37,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v4.0.2"` +Default: `"v4.0.3"` ==== [[input_namespace]] <> @@ -141,7 +141,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]] <> |>= 4 +|[[requirement_argocd]] <> |>= 5 |[[requirement_null]] <> |>= 3 |[[requirement_utils]] <> |>= 1 |=== @@ -168,7 +168,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v4.0.2"` +|`"v4.0.3"` |no |[[input_namespace]] <> diff --git a/terraform.tf b/terraform.tf index a3c32a6..d0a8e8b 100644 --- a/terraform.tf +++ b/terraform.tf @@ -2,7 +2,7 @@ terraform { required_providers { argocd = { source = "oboukili/argocd" - version = ">= 4" + version = ">= 5" } utils = { source = "cloudposse/utils"