Fix _withPrivateCluster container test. (#2041)

This commit is contained in:
Nathan McKinley 2018-09-12 17:58:11 -07:00 committed by GitHub
parent 430fea2f51
commit ab4eef468c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2401,6 +2401,7 @@ resource "google_container_cluster" "with_private_cluster" {
private_cluster = true
master_ipv4_cidr_block = "10.42.0.0/28"
master_authorized_networks_config { cidr_blocks = [] }
ip_allocation_policy {
cluster_secondary_range_name = "${google_compute_subnetwork.container_subnetwork.secondary_ip_range.0.range_name}"
services_secondary_range_name = "${google_compute_subnetwork.container_subnetwork.secondary_ip_range.1.range_name}"