Skip to content

Commit 86980c0

Browse files
authored
Merge branch 'main' into fix-dns-endpoint-config
2 parents 7a844a8 + 2566fec commit 86980c0

File tree

42 files changed

+37
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+37
-81
lines changed

autogen/main/outputs.tf.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ output "zones" {
5959
}
6060

6161
output "endpoint" {
62-
sensitive = true
6362
description = "Cluster endpoint"
6463
value = local.cluster_endpoint
6564
depends_on = [
@@ -207,7 +206,7 @@ output "mesh_certificates_config" {
207206

208207
output "master_ipv4_cidr_block" {
209208
description = "The IP range in CIDR notation used for the hosted master network"
210-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
209+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
211210
}
212211

213212
output "peering_name" {

examples/simple_regional_private_with_cluster_version/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
*/
1616

1717
output "kubernetes_endpoint" {
18-
sensitive = true
19-
value = module.gke.endpoint
18+
value = module.gke.endpoint
2019
}
2120

2221
output "client_token" {

modules/beta-autopilot-private-cluster/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ output "zones" {
5656
}
5757

5858
output "endpoint" {
59-
sensitive = true
6059
description = "Cluster endpoint"
6160
value = local.cluster_endpoint
6261
depends_on = [
@@ -165,7 +164,7 @@ output "tpu_ipv4_cidr_block" {
165164

166165
output "master_ipv4_cidr_block" {
167166
description = "The IP range in CIDR notation used for the hosted master network"
168-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
167+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
169168
}
170169

171170
output "peering_name" {

modules/beta-autopilot-public-cluster/outputs.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ output "zones" {
5656
}
5757

5858
output "endpoint" {
59-
sensitive = true
6059
description = "Cluster endpoint"
6160
value = local.cluster_endpoint
6261
depends_on = [

modules/beta-private-cluster-update-variant/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [
@@ -192,7 +191,7 @@ output "mesh_certificates_config" {
192191

193192
output "master_ipv4_cidr_block" {
194193
description = "The IP range in CIDR notation used for the hosted master network"
195-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
194+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
196195
}
197196

198197
output "peering_name" {

modules/beta-private-cluster/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [
@@ -192,7 +191,7 @@ output "mesh_certificates_config" {
192191

193192
output "master_ipv4_cidr_block" {
194193
description = "The IP range in CIDR notation used for the hosted master network"
195-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
194+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
196195
}
197196

198197
output "peering_name" {

modules/beta-public-cluster-update-variant/outputs.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [

modules/beta-public-cluster/outputs.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [

modules/private-cluster-update-variant/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [
@@ -192,7 +191,7 @@ output "mesh_certificates_config" {
192191

193192
output "master_ipv4_cidr_block" {
194193
description = "The IP range in CIDR notation used for the hosted master network"
195-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
194+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
196195
}
197196

198197
output "peering_name" {

modules/private-cluster/outputs.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ output "zones" {
5757
}
5858

5959
output "endpoint" {
60-
sensitive = true
6160
description = "Cluster endpoint"
6261
value = local.cluster_endpoint
6362
depends_on = [
@@ -192,7 +191,7 @@ output "mesh_certificates_config" {
192191

193192
output "master_ipv4_cidr_block" {
194193
description = "The IP range in CIDR notation used for the hosted master network"
195-
value = google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block
194+
value = var.enable_private_nodes ? google_container_cluster.primary.private_cluster_config[0].master_ipv4_cidr_block : null
196195
}
197196

198197
output "peering_name" {

0 commit comments

Comments
 (0)