Skip to content

Commit

Permalink
feat!: add support to oboukili/argocd v5 (#59)
Browse files Browse the repository at this point in the history
* feat!: add support to oboukili/argocd v5

* docs(terraform-docs): generate docs and write to README.adoc

---------

Co-authored-by: hbollon <[email protected]>
  • Loading branch information
hbollon and hbollon authored Jul 11, 2023
1 parent 43ca6d9 commit dc00ece
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 33 deletions.
16 changes: 8 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]] <<requirement_argocd,argocd>> (>= 4)
- [[requirement_argocd]] <<requirement_argocd,argocd>> (>= 5)

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand All @@ -34,11 +34,11 @@ The following requirements are needed by this module:

The following providers are used by this module:

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

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

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

=== Resources

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand All @@ -189,7 +189,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|===
|Name |Version
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 4
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 5
|[[provider_null]] <<provider_null,null>> |>= 3
|===
Expand Down Expand Up @@ -219,7 +219,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no
|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
8 changes: 4 additions & 4 deletions aks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The following requirements are needed by this module:

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

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand Down Expand Up @@ -270,7 +270,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
8 changes: 4 additions & 4 deletions eks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The following requirements are needed by this module:

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

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand Down Expand Up @@ -263,7 +263,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
12 changes: 8 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
8 changes: 4 additions & 4 deletions scaleway/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The following requirements are needed by this module:

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

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand All @@ -168,7 +168,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
8 changes: 4 additions & 4 deletions self-signed/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The following requirements are needed by this module:

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

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand Down Expand Up @@ -198,7 +198,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
8 changes: 4 additions & 4 deletions sks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The following requirements are needed by this module:

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

- [[requirement_null]] <<requirement_null,null>> (>= 3)

Expand Down Expand Up @@ -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]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -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]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_utils]] <<requirement_utils,utils>> |>= 1
|===
Expand All @@ -168,7 +168,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v4.0.2"`
|`"v4.0.3"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
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 dc00ece

Please sign in to comment.