parent
05c0195a06
commit
c1be435b09
|
@ -22,10 +22,7 @@ module "cluster" {
|
|||
vpc_config = {
|
||||
network = module.vpc.self_link
|
||||
subnetwork = module.vpc.subnet_self_links["${var.region}/subnet-apigee"]
|
||||
secondary_range_names = {
|
||||
pods = "pods"
|
||||
services = "services"
|
||||
}
|
||||
secondary_range_names = {}
|
||||
master_authorized_ranges = var.cluster_network_config.master_authorized_cidr_blocks
|
||||
master_ipv4_cidr_block = var.cluster_network_config.master_cidr_block
|
||||
}
|
||||
|
|
|
@ -22,10 +22,7 @@ module "cluster" {
|
|||
vpc_config = {
|
||||
network = module.vpc.self_link
|
||||
subnetwork = module.vpc.subnet_self_links["${var.region}/subnet-cluster"]
|
||||
secondary_range_names = {
|
||||
pods = "pods"
|
||||
services = "services"
|
||||
}
|
||||
secondary_range_names = {}
|
||||
master_authorized_ranges = var.cluster_network_config.master_authorized_cidr_blocks
|
||||
master_ipv4_cidr_block = var.cluster_network_config.master_cidr_block
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Copyright 2022 Google LLC
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -82,9 +82,9 @@ variable "clusters" {
|
|||
services = string
|
||||
}))
|
||||
secondary_range_names = optional(object({
|
||||
pods = string
|
||||
services = string
|
||||
}), { pods = "pods", services = "services" })
|
||||
pods = optional(string, "pods")
|
||||
services = optional(string, "services")
|
||||
}))
|
||||
master_authorized_ranges = optional(map(string))
|
||||
master_ipv4_cidr_block = optional(string)
|
||||
})
|
||||
|
|
|
@ -64,7 +64,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = { pods = "pods", services = "services" }
|
||||
secondary_range_names = {} # use default names "pods" and "services"
|
||||
}
|
||||
enable_features = {
|
||||
dns = {
|
||||
|
@ -93,6 +93,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {} # use default names "pods" and "services"
|
||||
}
|
||||
logging_config = {
|
||||
enable_api_server_logs = true
|
||||
|
@ -122,6 +123,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {} # use default names "pods" and "services"
|
||||
}
|
||||
monitoring_config = {
|
||||
enable_api_server_metrics = true
|
||||
|
@ -155,7 +157,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = { pods = "pods", services = "services" }
|
||||
secondary_range_names = { }
|
||||
}
|
||||
backup_configs = {
|
||||
enable_backup_agent = true
|
||||
|
|
|
@ -233,9 +233,9 @@ variable "vpc_config" {
|
|||
services = string
|
||||
}))
|
||||
secondary_range_names = optional(object({
|
||||
pods = string
|
||||
services = string
|
||||
}), { pods = "pods", services = "services" })
|
||||
pods = optional(string, "pods")
|
||||
services = optional(string, "services")
|
||||
}))
|
||||
master_authorized_ranges = optional(map(string))
|
||||
stack_type = optional(string)
|
||||
})
|
||||
|
|
|
@ -47,10 +47,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {
|
||||
pods = "pods"
|
||||
services = "services"
|
||||
}
|
||||
secondary_range_names = {} # use default names "pods" and "services"
|
||||
master_authorized_ranges = {
|
||||
internal-vms = "10.0.0.0/8"
|
||||
}
|
||||
|
@ -86,6 +83,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {}
|
||||
}
|
||||
logging_config = {
|
||||
enable_workloads_logs = true
|
||||
|
@ -115,6 +113,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {}
|
||||
}
|
||||
logging_config = {
|
||||
enable_system_logs = false
|
||||
|
@ -136,7 +135,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = { pods = "pods", services = "services" }
|
||||
secondary_range_names = {}
|
||||
}
|
||||
enable_features = {
|
||||
dns = {
|
||||
|
@ -162,7 +161,7 @@ module "cluster-1" {
|
|||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = { pods = "pods", services = "services" }
|
||||
secondary_range_names = { }
|
||||
}
|
||||
backup_configs = {
|
||||
enable_backup_agent = true
|
||||
|
|
|
@ -261,9 +261,9 @@ variable "vpc_config" {
|
|||
services = string
|
||||
}))
|
||||
secondary_range_names = optional(object({
|
||||
pods = string
|
||||
services = string
|
||||
}), { pods = "pods", services = "services" })
|
||||
pods = optional(string, "pods")
|
||||
services = optional(string, "services")
|
||||
}))
|
||||
master_authorized_ranges = optional(map(string))
|
||||
stack_type = optional(string)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue