You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,12 @@ Check out these related projects.
30
30
31
31
See [Basic example](examples/basic/README.md) for further information.
32
32
33
+
## Potential issues with running terraform plan
34
+
35
+
When deploying with ArgoCD application, Kubernetes terraform provider requires access to Kubernetes cluster API during plan time. This introduces potential issue when you want to deploy the cluster with this addon at the same time, during the same Terraform run.
36
+
37
+
To overcome this issue, the module deploys the ArgoCD application object using the Helm provider, which does not require API access during plan. If you want to deploy the application using this workaround, you can set the `argo_application_use_helm` variable to `true`.
38
+
33
39
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|[aws_iam_policy_document.cert_manager](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
60
67
|[aws_iam_policy_document.cert_manager_assume](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
61
68
|[aws_iam_policy_document.cert_manager_irsa](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
62
69
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
70
+
|[utils_deep_merge_yaml.argo_application_values](https://registry.terraform.io/providers/cloudposse/utils/latest/docs/data-sources/deep_merge_yaml)| data source |
63
71
|[utils_deep_merge_yaml.default_cluster_issuer_values](https://registry.terraform.io/providers/cloudposse/utils/latest/docs/data-sources/deep_merge_yaml)| data source |
64
72
|[utils_deep_merge_yaml.values](https://registry.terraform.io/providers/cloudposse/utils/latest/docs/data-sources/deep_merge_yaml)| data source |
65
73
@@ -71,6 +79,8 @@ No modules.
71
79
| <aname="input_cluster_identity_oidc_issuer_arn"></a> [cluster\_identity\_oidc\_issuer\_arn](#input\_cluster\_identity\_oidc\_issuer\_arn)| The OIDC Identity issuer ARN for the cluster that can be used to associate IAM roles with a service account |`string`| n/a | yes |
72
80
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| The name of the cluster |`string`| n/a | yes |
73
81
| <aname="input_argo_application_enabled"></a> [argo\_application\_enabled](#input\_argo\_application\_enabled)| If set to true, the module will be deployed as ArgoCD application, otherwise it will be deployed as a Helm release |`bool`|`false`| no |
82
+
| <aname="input_argo_application_use_helm"></a> [argo\_application\_use\_helm](#input\_argo\_application\_use\_helm)| If set to true, the ArgoCD Application manifest will be deployed using Kubernetes provider as a Helm release. Otherwise it'll be deployed as a Kubernetes manifest. See Readme for more info |`bool`|`false`| no |
83
+
| <aname="input_argo_application_values"></a> [argo\_application\_values](#input\_argo\_application\_values)| Value overrides to use when deploying argo application object with helm |`string`|`""`| no |
74
84
| <aname="input_argo_destionation_server"></a> [argo\_destionation\_server](#input\_argo\_destionation\_server)| Destination server for ArgoCD Application |`string`|`"https://kubernetes.default.svc"`| no |
75
85
| <aname="input_argo_info"></a> [argo\_info](#input\_argo\_info)| ArgoCD info manifest parameter |`list`| <pre>[<br> {<br> "name": "terraform",<br> "value": "true"<br> }<br>]</pre> | no |
76
86
| <aname="input_argo_namespace"></a> [argo\_namespace](#input\_argo\_namespace)| Namespace to deploy ArgoCD application CRD to |`string`|`"argo"`| no |
Copy file name to clipboardExpand all lines: variables.tf
+11-1
Original file line number
Diff line number
Diff line change
@@ -126,13 +126,23 @@ variable "argo_namespace" {
126
126
description="Namespace to deploy ArgoCD application CRD to"
127
127
}
128
128
129
-
130
129
variable"argo_application_enabled" {
131
130
type=bool
132
131
default=false
133
132
description="If set to true, the module will be deployed as ArgoCD application, otherwise it will be deployed as a Helm release"
134
133
}
135
134
135
+
variable"argo_application_use_helm" {
136
+
type=bool
137
+
default=false
138
+
description="If set to true, the ArgoCD Application manifest will be deployed using Kubernetes provider as a Helm release. Otherwise it'll be deployed as a Kubernetes manifest. See Readme for more info"
139
+
}
140
+
141
+
variable"argo_application_values" {
142
+
default=""
143
+
description="Value overrides to use when deploying argo application object with helm"
0 commit comments