diff --git a/_examples/complete/main.tf b/_examples/complete/main.tf index c76a050..fc35fb2 100644 --- a/_examples/complete/main.tf +++ b/_examples/complete/main.tf @@ -197,7 +197,7 @@ module "addons" { reloader = false ingress_nginx = false certification_manager = false - keda = true + keda = false # -- Path of override-values.yaml file cluster_autoscaler_helm_config = { values = [file("./config/override-cluster-autoscaler.yaml")] } diff --git a/addons/cert-manager/variables.tf b/addons/cert-manager/variables.tf index 347acaf..00fd4af 100644 --- a/addons/cert-manager/variables.tf +++ b/addons/cert-manager/variables.tf @@ -4,10 +4,6 @@ variable "helm_config" { default = {} } -variable "gke_cluster_name" { - type = string - default = "" -} variable "certification_manager_extra_configs" { description = "Override attributes of helm_release terraform resource" @@ -24,36 +20,13 @@ variable "addon_context" { }) } -variable "workload_identity_config" { - description = "Input configuration for IRSA module" - type = any - default = {} -} - variable "project_id" { description = "GCP project ID" type = string } -variable "create_kubernetes_namespace" { - description = "Should the module create the namespace" - type = bool - default = true -} - variable "environment" { description = "Environment in which the infrastructure is being deployed (e.g., production, staging, development)" type = string } -variable "GCP_GSA_NAME" { - description = "Google Cloud Service Account name" - type = string - default = "cert-manager" -} - -variable "GCP_KSA_NAME" { - description = "Google Kubernetes Service Account name" - type = string - default = "cert-manager" -} diff --git a/addons/cluster-autoscaler/variables.tf b/addons/cluster-autoscaler/variables.tf index 5b6271d..719646f 100644 --- a/addons/cluster-autoscaler/variables.tf +++ b/addons/cluster-autoscaler/variables.tf @@ -15,12 +15,6 @@ variable "cluster_autoscaler_extra_configs" { default = {} } -variable "iampolicy_json_content" { - description = "Custom IAM Policy for ClusterAutoscaler workload_identity" - type = string - default = null -} - variable "addon_context" { description = "Input configuration for the addon" type = object({ @@ -30,36 +24,13 @@ variable "addon_context" { }) } -variable "workload_identity_config" { - description = "Input configuration for workload identity module" - type = any - default = {} -} - variable "project_id" { description = "GCP project ID" type = string } -variable "create_kubernetes_namespace" { - description = "Should the module create the namespace" - type = bool - default = true -} - variable "environment" { description = "Environment in which the infrastructure is being deployed (e.g., production, staging, development)" type = string } -variable "GCP_GSA_NAME" { - description = "Google Cloud Service Account name" - type = string - default = "cluster-autoscaler" -} - -variable "GCP_KSA_NAME" { - description = "Google Kubernetes Service Account name" - type = string - default = "kube-system" -} diff --git a/addons/ingress-nginx/variable.tf b/addons/ingress-nginx/variable.tf index ac47b14..351ef4f 100644 --- a/addons/ingress-nginx/variable.tf +++ b/addons/ingress-nginx/variable.tf @@ -4,17 +4,6 @@ variable "helm_config" { default = {} } -variable "manage_via_gitops" { - description = "Determines if the add-on should be managed via GitOps" - type = bool - default = false -} - -variable "gke_cluster_name" { - type = string - default = "" -} - variable "project_id" { description = "GCP project ID" type = string @@ -40,20 +29,3 @@ variable "environment" { type = string } -variable "GCP_GSA_NAME" { - description = "Google Cloud Service Account name" - type = string - default = "keda" -} - -variable "GCP_KSA_NAME" { - description = "Google Kubernetes Service Account name" - type = string - default = "keda-operator" -} - -variable "irsa_config" { - description = "Input configuration for IRSA module" - type = any - default = {} -} diff --git a/addons/reloader/variables.tf b/addons/reloader/variables.tf index a8fea20..19218d6 100644 --- a/addons/reloader/variables.tf +++ b/addons/reloader/variables.tf @@ -4,11 +4,6 @@ variable "helm_config" { default = {} } -variable "gke_cluster_name" { - type = string - default = "" -} - variable "addon_context" { description = "Input configuration for the addon" type = object({ @@ -18,12 +13,6 @@ variable "addon_context" { }) } -variable "workload_identity_config" { - description = "Input configuration for IRSA module" - type = any - default = {} -} - variable "project_id" { description = "GCP project ID" type = string @@ -34,18 +23,6 @@ variable "environment" { type = string } -variable "GCP_GSA_NAME" { - description = "Google Cloud Service Account name" - type = string - default = "kube-system" -} - -variable "GCP_KSA_NAME" { - description = "Google Kubernetes Service Account name" - type = string - default = "kube-system" -} - variable "reloader_extra_configs" { description = "Override attributes of helm_release terraform resource" type = any