Remove some seldom used variables and set reasonable

* Set reasonable values and remove some variable clutter
* enable_reporting is only used with Calico and we can just default
to false, I doubt anyone uses Calico and cares much about reporting
metrics to upstream Calico
This commit is contained in:
Dalton Hubble
2024-08-02 20:45:37 -07:00
parent 83f1bd2373
commit 6e2daded02
21 changed files with 8 additions and 147 deletions

View File

@ -9,8 +9,6 @@ module "bootstrap" {
network_mtu = var.network_mtu
pod_cidr = var.pod_cidr
service_cidr = var.service_cidr
enable_reporting = var.enable_reporting
enable_aggregation = var.enable_aggregation
daemonset_tolerations = var.daemonset_tolerations
components = var.components
}

View File

@ -172,18 +172,6 @@ variable "worker_node_labels" {
# advanced
variable "enable_reporting" {
type = bool
description = "Enable usage or analytics reporting to upstreams (Calico)"
default = false
}
variable "enable_aggregation" {
type = bool
description = "Enable the Kubernetes Aggregation Layer"
default = true
}
variable "controller_arch" {
type = string
description = "Controller node(s) architecture (amd64 or arm64)"