diff --git a/main.tf b/main.tf index 55dffd0..e41cd1f 100644 --- a/main.tf +++ b/main.tf @@ -195,6 +195,7 @@ module "gke" { cluster_dns_provider = var.cluster_dns_provider cluster_dns_scope = var.cluster_dns_scope cluster_dns_domain = var.cluster_dns_domain + dns_cache = var.dns_cache additive_vpc_scope_dns_domain = var.additive_vpc_scope_dns_domain fleet_project = var.fleet_project diff --git a/variables.tf b/variables.tf index 5135b84..6a6dd4a 100644 --- a/variables.tf +++ b/variables.tf @@ -127,6 +127,12 @@ variable "default_max_pods_per_node" { default = 110 } +variable "dns_cache" { + default = false + description = "The status of the NodeLocal DNSCache addon" + type = bool +} + variable "enable_database_encryption" { default = false description = "Enables etcd encryption via Google KMS."