From e97c1cc9e58a4d183b2cfa9f6ccae651f59e4120 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Thu, 9 Dec 2021 17:25:35 -0800 Subject: [PATCH] Enable Kubernetes aggregation by default * Change `enable_aggregation` default from false to true * These days, Kubernetes control plane components emit annoying messages related to assumptions baked into the Kubernetes API Aggregation Layer if you don't enable it. Further the conformance tests force you to remember to enable it if you care about passing those * This change is motivated by eliminating annoyances, rather than any enthusiasm for Kubernetes' aggregation features Rel: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/ --- CHANGES.md | 2 +- aws/fedora-coreos/kubernetes/variables.tf | 4 ++-- aws/flatcar-linux/kubernetes/variables.tf | 4 ++-- azure/fedora-coreos/kubernetes/variables.tf | 4 ++-- azure/flatcar-linux/kubernetes/variables.tf | 4 ++-- bare-metal/fedora-coreos/kubernetes/variables.tf | 4 ++-- bare-metal/flatcar-linux/kubernetes/variables.tf | 4 ++-- digital-ocean/fedora-coreos/kubernetes/variables.tf | 4 ++-- digital-ocean/flatcar-linux/kubernetes/variables.tf | 4 ++-- google-cloud/fedora-coreos/kubernetes/variables.tf | 4 ++-- google-cloud/flatcar-linux/kubernetes/variables.tf | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e5b80837..ef0872d2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ Notable changes between versions. * Kubernetes [v1.23.0](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#v1230) * Normalize CA certs mounts in static Pods and kube-proxy * With Calico, add missing `caliconodestatuses` CRD ([#289](https://github.com/poseidon/terraform-render-bootstrap/pull/289)) +* Change `enable_aggregation` default to true ([#279](https://github.com/poseidon/terraform-render-bootstrap/pull/279)) ### AWS @@ -50,7 +51,6 @@ Notable changes between versions. * Update Calico from v3.20.1 to [v3.20.2](https://github.com/projectcalico/calico/releases/tag/v3.20.2) * Use Calico's iptables legacy vs nft auto-detection * Update flannel from v0.13.0 to v0.14.0 -* Change `enable_aggregation` default to true ([#279](https://github.com/poseidon/terraform-render-bootstrap/pull/279)) ### Bare-Metal diff --git a/aws/fedora-coreos/kubernetes/variables.tf b/aws/fedora-coreos/kubernetes/variables.tf index ace23bd9..74eab4b2 100644 --- a/aws/fedora-coreos/kubernetes/variables.tf +++ b/aws/fedora-coreos/kubernetes/variables.tf @@ -142,8 +142,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" { diff --git a/aws/flatcar-linux/kubernetes/variables.tf b/aws/flatcar-linux/kubernetes/variables.tf index 2c091cec..94a86173 100644 --- a/aws/flatcar-linux/kubernetes/variables.tf +++ b/aws/flatcar-linux/kubernetes/variables.tf @@ -142,8 +142,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" { diff --git a/azure/fedora-coreos/kubernetes/variables.tf b/azure/fedora-coreos/kubernetes/variables.tf index f13f410f..04a37507 100644 --- a/azure/fedora-coreos/kubernetes/variables.tf +++ b/azure/fedora-coreos/kubernetes/variables.tf @@ -117,8 +117,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" { diff --git a/azure/flatcar-linux/kubernetes/variables.tf b/azure/flatcar-linux/kubernetes/variables.tf index 6e0e3714..b7022537 100644 --- a/azure/flatcar-linux/kubernetes/variables.tf +++ b/azure/flatcar-linux/kubernetes/variables.tf @@ -123,8 +123,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" { diff --git a/bare-metal/fedora-coreos/kubernetes/variables.tf b/bare-metal/fedora-coreos/kubernetes/variables.tf index f5ec9560..e2407851 100644 --- a/bare-metal/fedora-coreos/kubernetes/variables.tf +++ b/bare-metal/fedora-coreos/kubernetes/variables.tf @@ -146,8 +146,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } # unofficial, undocumented, unsupported diff --git a/bare-metal/flatcar-linux/kubernetes/variables.tf b/bare-metal/flatcar-linux/kubernetes/variables.tf index 82dc9c61..7ba6524f 100644 --- a/bare-metal/flatcar-linux/kubernetes/variables.tf +++ b/bare-metal/flatcar-linux/kubernetes/variables.tf @@ -151,8 +151,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } # unofficial, undocumented, unsupported diff --git a/digital-ocean/fedora-coreos/kubernetes/variables.tf b/digital-ocean/fedora-coreos/kubernetes/variables.tf index ddf5b01e..32c72cc8 100644 --- a/digital-ocean/fedora-coreos/kubernetes/variables.tf +++ b/digital-ocean/fedora-coreos/kubernetes/variables.tf @@ -94,8 +94,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } # unofficial, undocumented, unsupported diff --git a/digital-ocean/flatcar-linux/kubernetes/variables.tf b/digital-ocean/flatcar-linux/kubernetes/variables.tf index dbffa5e2..e7ecd7b8 100644 --- a/digital-ocean/flatcar-linux/kubernetes/variables.tf +++ b/digital-ocean/flatcar-linux/kubernetes/variables.tf @@ -94,8 +94,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } # unofficial, undocumented, unsupported diff --git a/google-cloud/fedora-coreos/kubernetes/variables.tf b/google-cloud/fedora-coreos/kubernetes/variables.tf index 2c911c04..4ceae24b 100644 --- a/google-cloud/fedora-coreos/kubernetes/variables.tf +++ b/google-cloud/fedora-coreos/kubernetes/variables.tf @@ -118,8 +118,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" { diff --git a/google-cloud/flatcar-linux/kubernetes/variables.tf b/google-cloud/flatcar-linux/kubernetes/variables.tf index 91af7df7..de65e8b7 100644 --- a/google-cloud/flatcar-linux/kubernetes/variables.tf +++ b/google-cloud/flatcar-linux/kubernetes/variables.tf @@ -112,8 +112,8 @@ variable "enable_reporting" { variable "enable_aggregation" { type = bool - description = "Enable the Kubernetes Aggregation Layer (defaults to false)" - default = false + description = "Enable the Kubernetes Aggregation Layer" + default = true } variable "worker_node_labels" {