diff --git a/autogen/safer-cluster/main.tf.tmpl b/autogen/safer-cluster/main.tf.tmpl index 5270137dc1..e58a4e60da 100644 --- a/autogen/safer-cluster/main.tf.tmpl +++ b/autogen/safer-cluster/main.tf.tmpl @@ -128,6 +128,8 @@ module "gke" { dns_cache = var.dns_cache + config_connector = var.config_connector + default_max_pods_per_node = var.default_max_pods_per_node database_encryption = var.database_encryption diff --git a/autogen/safer-cluster/variables.tf.tmpl b/autogen/safer-cluster/variables.tf.tmpl index 64dde3d743..6b057482b0 100644 --- a/autogen/safer-cluster/variables.tf.tmpl +++ b/autogen/safer-cluster/variables.tf.tmpl @@ -360,3 +360,9 @@ variable "firewall_inbound_ports" { description = "List of TCP ports for admission/webhook controllers" default = ["8443", "9443", "15017"] } + +variable "config_connector" { + type = bool + description = "(Beta) Whether ConfigConnector is enabled for this cluster." + default = false +} diff --git a/modules/safer-cluster-update-variant/README.md b/modules/safer-cluster-update-variant/README.md index 3d9a16630a..6f9120c81a 100644 --- a/modules/safer-cluster-update-variant/README.md +++ b/modules/safer-cluster-update-variant/README.md @@ -205,6 +205,7 @@ For simplicity, we suggest using `roles/container.admin` and | cloudrun | (Beta) Enable CloudRun addon | string | `"false"` | no | | cluster\_resource\_labels | The GCE resource labels (a map of key/value pairs) to be applied to the cluster | map(string) | `` | no | | compute\_engine\_service\_account | Use the given service account for nodes rather than creating a new dedicated service account. | string | `""` | no | +| config\_connector | (Beta) Whether ConfigConnector is enabled for this cluster. | bool | `"false"` | no | | database\_encryption | Application-layer Secrets Encryption settings. The object format is {state = string, key_name = string}. Valid values of state are: "ENCRYPTED"; "DECRYPTED". key_name is the name of a CloudKMS key. | object | `` | no | | default\_max\_pods\_per\_node | The maximum number of pods to schedule per node | string | `"110"` | no | | description | The description of the cluster | string | `""` | no | diff --git a/modules/safer-cluster-update-variant/main.tf b/modules/safer-cluster-update-variant/main.tf index d259f17943..1d044fb07b 100644 --- a/modules/safer-cluster-update-variant/main.tf +++ b/modules/safer-cluster-update-variant/main.tf @@ -124,6 +124,8 @@ module "gke" { dns_cache = var.dns_cache + config_connector = var.config_connector + default_max_pods_per_node = var.default_max_pods_per_node database_encryption = var.database_encryption diff --git a/modules/safer-cluster-update-variant/variables.tf b/modules/safer-cluster-update-variant/variables.tf index 8340f1d82a..4644b2d5fc 100644 --- a/modules/safer-cluster-update-variant/variables.tf +++ b/modules/safer-cluster-update-variant/variables.tf @@ -360,3 +360,9 @@ variable "firewall_inbound_ports" { description = "List of TCP ports for admission/webhook controllers" default = ["8443", "9443", "15017"] } + +variable "config_connector" { + type = bool + description = "(Beta) Whether ConfigConnector is enabled for this cluster." + default = false +} diff --git a/modules/safer-cluster/README.md b/modules/safer-cluster/README.md index 3d9a16630a..6f9120c81a 100644 --- a/modules/safer-cluster/README.md +++ b/modules/safer-cluster/README.md @@ -205,6 +205,7 @@ For simplicity, we suggest using `roles/container.admin` and | cloudrun | (Beta) Enable CloudRun addon | string | `"false"` | no | | cluster\_resource\_labels | The GCE resource labels (a map of key/value pairs) to be applied to the cluster | map(string) | `` | no | | compute\_engine\_service\_account | Use the given service account for nodes rather than creating a new dedicated service account. | string | `""` | no | +| config\_connector | (Beta) Whether ConfigConnector is enabled for this cluster. | bool | `"false"` | no | | database\_encryption | Application-layer Secrets Encryption settings. The object format is {state = string, key_name = string}. Valid values of state are: "ENCRYPTED"; "DECRYPTED". key_name is the name of a CloudKMS key. | object | `` | no | | default\_max\_pods\_per\_node | The maximum number of pods to schedule per node | string | `"110"` | no | | description | The description of the cluster | string | `""` | no | diff --git a/modules/safer-cluster/main.tf b/modules/safer-cluster/main.tf index 853919227b..0ecca42f5c 100644 --- a/modules/safer-cluster/main.tf +++ b/modules/safer-cluster/main.tf @@ -124,6 +124,8 @@ module "gke" { dns_cache = var.dns_cache + config_connector = var.config_connector + default_max_pods_per_node = var.default_max_pods_per_node database_encryption = var.database_encryption diff --git a/modules/safer-cluster/variables.tf b/modules/safer-cluster/variables.tf index 8340f1d82a..4644b2d5fc 100644 --- a/modules/safer-cluster/variables.tf +++ b/modules/safer-cluster/variables.tf @@ -360,3 +360,9 @@ variable "firewall_inbound_ports" { description = "List of TCP ports for admission/webhook controllers" default = ["8443", "9443", "15017"] } + +variable "config_connector" { + type = bool + description = "(Beta) Whether ConfigConnector is enabled for this cluster." + default = false +}