diff --git a/kubernetes/locals.tf b/kubernetes/locals.tf index 1e6aff5..a1d6034 100644 --- a/kubernetes/locals.tf +++ b/kubernetes/locals.tf @@ -21,6 +21,7 @@ locals { name = "server.ingress.ingressClassName" value = "cilium" }, - ] : [] + ] : [], + length(var.argocd_helm_values) > 0 ? var.argocd_helm_values : [] ) } diff --git a/kubernetes/variables.tf b/kubernetes/variables.tf index 5f153c5..accbd9f 100644 --- a/kubernetes/variables.tf +++ b/kubernetes/variables.tf @@ -44,6 +44,15 @@ variable "argocd_ingress_enabled" { default = true } +variable "argocd_helm_values" { + description = "Additional Helm values for installing the ArgoCD Helm chart" + type = list(object({ + name = string + value = string + })) + default = [] +} + # See: https://argo-cd.readthedocs.io/en/latest/operator-manual/cluster-bootstrapping/#app-of-apps-pattern variable "install_argocd_app_of_apps" { description = "Flag for bootstrapping ArgoCD with an App of Apps"