Skip to content

Commit e653788

Browse files
committed
changes
1 parent 3d054d2 commit e653788

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

modules/gke-standard-cluster/metadata.display.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ spec:
130130
initial_node_count:
131131
name: initial_node_count
132132
title: Initial Node Count
133+
altDefaults:
134+
- type: ALTERNATE_TYPE_DC
135+
value: 1
133136
ip_allocation_policy:
134137
name: ip_allocation_policy
135138
title: Ip Allocation Policy
@@ -151,6 +154,10 @@ spec:
151154
master_authorized_networks_config:
152155
name: master_authorized_networks_config
153156
title: Master Authorized Networks Config
157+
altDefaults:
158+
- type: ALTERNATE_TYPE_DC
159+
value:
160+
private_endpoint_enforcement_enabled: true
154161
mesh_certificates:
155162
name: mesh_certificates
156163
title: Mesh Certificates

modules/gke-standard-cluster/metadata.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ spec:
304304
- name: initial_node_count
305305
description: The number of nodes to create in this cluster's default node pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Must be set if node_pool is not specified.
306306
varType: number
307-
defaultValue: 1
307+
defaultValue: 0
308308
- name: ip_allocation_policy
309309
description: "Configuration of cluster IP allocation for VPC-native clusters. If this block is unset during creation, it will be set by the GKE backend. "
310310
varType: |-
@@ -367,8 +367,6 @@ spec:
367367
gcp_public_cidrs_access_enabled = optional(bool)
368368
private_endpoint_enforcement_enabled = optional(bool)
369369
})
370-
defaultValue:
371-
private_endpoint_enforcement_enabled: true
372370
- name: min_master_version
373371
description: The minimum version of the master. GKE will auto-update the master to new versions, so this does not guarantee the master version--use the read-only master_version field to obtain a current version. If unset, the server's default version will be used.
374372
varType: string

0 commit comments

Comments
 (0)