Skip to content

Commit

Permalink
fix: add default argocd_namespace (#37)
Browse files Browse the repository at this point in the history
* fix: add default argocd_namesapce

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

---------

Co-authored-by: lentidas <lentidas@users.noreply.github.com>
  • Loading branch information
lentidas and lentidas authored Jun 5, 2023
1 parent f0f06bf commit ef1ce92
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 22 deletions.
16 changes: 9 additions & 7 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ Description: Base domain of the cluster. Value used for the ingress' URL of the

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):

==== [[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>

Description: Namespace used by Argo CD where the Application and AppProject resources should be created.

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):
Default: `"argocd"`

==== [[input_target_revision]] <<input_target_revision,target_revision>>

Expand Down Expand Up @@ -183,10 +185,10 @@ Description: ID to pass other modules in order to refer to this module as a depe
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[provider_null]] <<provider_null,null>> |>= 3
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 4
|[[provider_random]] <<provider_random,random>> |>= 3
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 4
|[[provider_null]] <<provider_null,null>> |>= 3
|===
= Resources
Expand Down Expand Up @@ -222,8 +224,8 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>
|Namespace used by Argo CD where the Application and AppProject resources should be created.
|`string`
|n/a
|yes
|`"argocd"`
|no
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
Expand Down
12 changes: 7 additions & 5 deletions aks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,17 @@ Description: Base domain of the cluster. Value used for the ingress' URL of the

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):

==== [[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>

Description: Namespace used by Argo CD where the Application and AppProject resources should be created.

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):
Default: `"argocd"`

==== [[input_target_revision]] <<input_target_revision,target_revision>>

Expand Down Expand Up @@ -446,8 +448,8 @@ object({
|[[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>
|Namespace used by Argo CD where the Application and AppProject resources should be created.
|`string`
|n/a
|yes
|`"argocd"`
|no
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
Expand Down
12 changes: 7 additions & 5 deletions eks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,17 @@ Description: Base domain of the cluster. Value used for the ingress' URL of the

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):

==== [[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>

Description: Namespace used by Argo CD where the Application and AppProject resources should be created.

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):
Default: `"argocd"`

==== [[input_target_revision]] <<input_target_revision,target_revision>>

Expand Down Expand Up @@ -462,8 +464,8 @@ object({
|[[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>
|Namespace used by Argo CD where the Application and AppProject resources should be created.
|`string`
|n/a
|yes
|`"argocd"`
|no
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
Expand Down
12 changes: 7 additions & 5 deletions kind/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,17 @@ Description: Base domain of the cluster. Value used for the ingress' URL of the

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):

==== [[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>

Description: Namespace used by Argo CD where the Application and AppProject resources should be created.

Type: `string`

=== Optional Inputs

The following input variables are optional (have default values):
Default: `"argocd"`

==== [[input_target_revision]] <<input_target_revision,target_revision>>

Expand Down Expand Up @@ -361,8 +363,8 @@ object({
|[[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>>
|Namespace used by Argo CD where the Application and AppProject resources should be created.
|`string`
|n/a
|yes
|`"argocd"`
|no
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variable "base_domain" {
variable "argocd_namespace" {
description = "Namespace used by Argo CD where the Application and AppProject resources should be created."
type = string
default = "argocd"
}

variable "target_revision" {
Expand Down

0 comments on commit ef1ce92

Please sign in to comment.