Skip to content

Commit

Permalink
feat!: add support to oboukili/argocd v5 (#75)
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 96e784f commit d6bcc0c
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 30 deletions.
16 changes: 8 additions & 8 deletions 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_htpasswd]] <<requirement_htpasswd,htpasswd>> (>= 1)

Expand All @@ -17,15 +17,15 @@ The following requirements are needed by this module:

The following providers are used by this module:

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

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

- [[provider_htpasswd]] <<provider_htpasswd,htpasswd>> (>= 1)

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

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

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

=== Resources

Expand Down Expand Up @@ -57,7 +57,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.0.0"`
Default: `"v3.0.1"`

==== [[input_namespace]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -165,7 +165,7 @@ Description: Credentials to access the Loki ingress, if activated.
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> |>= 1
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_random]] <<requirement_random,random>> |>= 3
Expand All @@ -181,7 +181,7 @@ Description: Credentials to access the Loki ingress, if activated.
|[[provider_random]] <<provider_random,random>> |>= 3
|[[provider_htpasswd]] <<provider_htpasswd,htpasswd>> |>= 1
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 4
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 5
|===

= Resources
Expand Down Expand Up @@ -212,7 +212,7 @@ Description: Credentials to access the Loki ingress, if activated.
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.0.0"`
|`"v3.0.1"`
|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_htpasswd]] <<requirement_htpasswd,htpasswd>> (>= 1)

Expand Down Expand Up @@ -77,7 +77,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.0.0"`
Default: `"v3.0.1"`

==== [[input_namespace]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -185,7 +185,7 @@ Description: Credentials to access the Loki ingress, if activated.
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> |>= 1
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_random]] <<requirement_random,random>> |>= 3
Expand Down Expand Up @@ -252,7 +252,7 @@ object({
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.0.0"`
|`"v3.0.1"`
|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_htpasswd]] <<requirement_htpasswd,htpasswd>> (>= 1)

Expand Down Expand Up @@ -59,7 +59,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.0.0"`
Default: `"v3.0.1"`

==== [[input_namespace]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -167,7 +167,7 @@ Description: Credentials to access the Loki ingress, if activated.
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> |>= 1
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_random]] <<requirement_random,random>> |>= 3
Expand Down Expand Up @@ -212,7 +212,7 @@ object({
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.0.0"`
|`"v3.0.1"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
8 changes: 4 additions & 4 deletions kind/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_htpasswd]] <<requirement_htpasswd,htpasswd>> (>= 1)

Expand Down Expand Up @@ -61,7 +61,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.0.0"`
Default: `"v3.0.1"`

==== [[input_namespace]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -169,7 +169,7 @@ Description: Credentials to access the Loki ingress, if activated.
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> |>= 1
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_random]] <<requirement_random,random>> |>= 3
Expand Down Expand Up @@ -216,7 +216,7 @@ object({
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.0.0"`
|`"v3.0.1"`
|no

|[[input_namespace]] <<input_namespace,namespace>>
Expand Down
15 changes: 10 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,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
8 changes: 4 additions & 4 deletions sks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ This module requires a Persistent Volume so it needs to be deployed after the mo

The following requirements are needed by this module:

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

- [[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> (>= 1)

Expand Down Expand Up @@ -162,7 +162,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.0.0"`
Default: `"v3.0.1"`

==== [[input_namespace]] <<input_namespace,namespace>>

Expand Down Expand Up @@ -276,7 +276,7 @@ Description: Credentials to access the Loki ingress, if activated.
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 4
|[[requirement_argocd]] <<requirement_argocd,argocd>> |>= 5
|[[requirement_htpasswd]] <<requirement_htpasswd,htpasswd>> |>= 1
|[[requirement_null]] <<requirement_null,null>> |>= 3
|[[requirement_random]] <<requirement_random,random>> |>= 3
Expand Down Expand Up @@ -328,7 +328,7 @@ object({
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.0.0"`
|`"v3.0.1"`
|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 d6bcc0c

Please sign in to comment.