File tree Expand file tree Collapse file tree 26 files changed +69
-43
lines changed
beta-autopilot-private-cluster
beta-autopilot-public-cluster
beta-private-cluster-update-variant
beta-public-cluster-update-variant
private-cluster-update-variant Expand file tree Collapse file tree 26 files changed +69
-43
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ module "gke" {
50
50
network_policy = false
51
51
horizontal_pod_autoscaling = true
52
52
filestore_csi_driver = false
53
+ dns_cache = false
53
54
54
55
node_pools = [
55
56
{
@@ -242,6 +243,7 @@ Then perform the following commands on the root folder:
242
243
| ------| -------------|
243
244
| ca\_ certificate | Cluster ca certificate (base64 encoded) |
244
245
| cluster\_ id | Cluster ID |
246
+ | dns\_ cache\_ enabled | Whether DNS Cache enabled |
245
247
| endpoint | Cluster endpoint |
246
248
| fleet\_ membership | Fleet membership (if registered) |
247
249
| gateway\_ api\_ channel | The gateway api channel of this cluster. |
Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ module "gke" {
90
90
{% if beta_cluster and autopilot_cluster != true %}
91
91
istio = true
92
92
cloudrun = true
93
- dns_cache = false
94
93
{% endif %}
94
+ dns_cache = false
95
95
96
96
{% if autopilot_cluster != true %}
97
97
node_pools = [
Original file line number Diff line number Diff line change @@ -232,7 +232,6 @@ locals {
232
232
{% if beta_cluster %}
233
233
# BETA features
234
234
cluster_istio_enabled = ! local.cluster_output_istio_disabled
235
- cluster_dns_cache_enabled = var.dns_cache
236
235
{% if autopilot_cluster != true %}
237
236
cluster_telemetry_type_is_set = var.cluster_telemetry_type != null
238
237
{% endif %}
@@ -242,6 +241,7 @@ locals {
242
241
# /BETA features
243
242
{% endif %}
244
243
244
+ cluster_dns_cache_enabled = var.dns_cache
245
245
cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && var.maintenance_end_time != "" ? [1] : []
246
246
cluster_maintenance_window_is_daily = length(local.cluster_maintenance_window_is_recurring) > 0 ? [] : [1]
247
247
}
Original file line number Diff line number Diff line change @@ -198,6 +198,11 @@ output "peering_name" {
198
198
value = local.cluster_peering_name
199
199
}
200
200
{% endif %}
201
+
202
+ output "dns_cache_enabled" {
203
+ description = "Whether DNS Cache enabled"
204
+ value = local.cluster_dns_cache_enabled
205
+ }
201
206
{% if beta_cluster %}
202
207
203
208
output "cloudrun_enabled" {
@@ -214,11 +219,6 @@ output "istio_enabled" {
214
219
value = local.cluster_istio_enabled
215
220
}
216
221
217
- output "dns_cache_enabled" {
218
- description = "Whether DNS Cache enabled"
219
- value = local.cluster_dns_cache_enabled
220
- }
221
-
222
222
output "pod_security_policy_enabled" {
223
223
description = "Whether pod security policy is enabled"
224
224
value = local.cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ locals {
171
171
}] : []
172
172
173
173
174
+ cluster_dns_cache_enabled = var. dns_cache
174
175
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
175
176
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
176
177
}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ module "gke" {
54
54
enable_private_endpoint = true
55
55
enable_private_nodes = true
56
56
master_ipv4_cidr_block = "10.0.0.0/28"
57
+ dns_cache = false
57
58
58
59
}
59
60
```
Original file line number Diff line number Diff line change @@ -127,12 +127,12 @@ locals {
127
127
128
128
# BETA features
129
129
cluster_istio_enabled = ! local. cluster_output_istio_disabled
130
- cluster_dns_cache_enabled = var. dns_cache
131
130
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
132
131
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
133
132
134
133
# /BETA features
135
134
135
+ cluster_dns_cache_enabled = var. dns_cache
136
136
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
137
137
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
138
138
}
Original file line number Diff line number Diff line change @@ -159,6 +159,11 @@ output "peering_name" {
159
159
value = local. cluster_peering_name
160
160
}
161
161
162
+ output "dns_cache_enabled" {
163
+ description = " Whether DNS Cache enabled"
164
+ value = local. cluster_dns_cache_enabled
165
+ }
166
+
162
167
output "cloudrun_enabled" {
163
168
description = " Whether CloudRun enabled"
164
169
value = false
@@ -169,11 +174,6 @@ output "istio_enabled" {
169
174
value = local. cluster_istio_enabled
170
175
}
171
176
172
- output "dns_cache_enabled" {
173
- description = " Whether DNS Cache enabled"
174
- value = local. cluster_dns_cache_enabled
175
- }
176
-
177
177
output "pod_security_policy_enabled" {
178
178
description = " Whether pod security policy is enabled"
179
179
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ module "gke" {
48
48
ip_range_services = "us-central1-01-gke-01-services"
49
49
horizontal_pod_autoscaling = true
50
50
filestore_csi_driver = false
51
+ dns_cache = false
51
52
52
53
}
53
54
```
Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ locals {
126
126
127
127
# BETA features
128
128
cluster_istio_enabled = ! local. cluster_output_istio_disabled
129
- cluster_dns_cache_enabled = var. dns_cache
130
129
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
131
130
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
132
131
133
132
# /BETA features
134
133
134
+ cluster_dns_cache_enabled = var. dns_cache
135
135
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
136
136
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
137
137
}
Original file line number Diff line number Diff line change @@ -149,6 +149,11 @@ output "tpu_ipv4_cidr_block" {
149
149
150
150
151
151
152
+ output "dns_cache_enabled" {
153
+ description = " Whether DNS Cache enabled"
154
+ value = local. cluster_dns_cache_enabled
155
+ }
156
+
152
157
output "cloudrun_enabled" {
153
158
description = " Whether CloudRun enabled"
154
159
value = false
@@ -159,11 +164,6 @@ output "istio_enabled" {
159
164
value = local. cluster_istio_enabled
160
165
}
161
166
162
- output "dns_cache_enabled" {
163
- description = " Whether DNS Cache enabled"
164
- value = local. cluster_dns_cache_enabled
165
- }
166
-
167
167
output "pod_security_policy_enabled" {
168
168
description = " Whether pod security policy is enabled"
169
169
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -191,13 +191,13 @@ locals {
191
191
192
192
# BETA features
193
193
cluster_istio_enabled = ! local. cluster_output_istio_disabled
194
- cluster_dns_cache_enabled = var. dns_cache
195
194
cluster_telemetry_type_is_set = var. cluster_telemetry_type != null
196
195
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
197
196
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
198
197
199
198
# /BETA features
200
199
200
+ cluster_dns_cache_enabled = var. dns_cache
201
201
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
202
202
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
203
203
}
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ output "peering_name" {
185
185
value = local. cluster_peering_name
186
186
}
187
187
188
+ output "dns_cache_enabled" {
189
+ description = " Whether DNS Cache enabled"
190
+ value = local. cluster_dns_cache_enabled
191
+ }
192
+
188
193
output "cloudrun_enabled" {
189
194
description = " Whether CloudRun enabled"
190
195
value = local. cluster_cloudrun_enabled
@@ -195,11 +200,6 @@ output "istio_enabled" {
195
200
value = local. cluster_istio_enabled
196
201
}
197
202
198
- output "dns_cache_enabled" {
199
- description = " Whether DNS Cache enabled"
200
- value = local. cluster_dns_cache_enabled
201
- }
202
-
203
203
output "pod_security_policy_enabled" {
204
204
description = " Whether pod security policy is enabled"
205
205
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -191,13 +191,13 @@ locals {
191
191
192
192
# BETA features
193
193
cluster_istio_enabled = ! local. cluster_output_istio_disabled
194
- cluster_dns_cache_enabled = var. dns_cache
195
194
cluster_telemetry_type_is_set = var. cluster_telemetry_type != null
196
195
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
197
196
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
198
197
199
198
# /BETA features
200
199
200
+ cluster_dns_cache_enabled = var. dns_cache
201
201
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
202
202
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
203
203
}
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ output "peering_name" {
185
185
value = local. cluster_peering_name
186
186
}
187
187
188
+ output "dns_cache_enabled" {
189
+ description = " Whether DNS Cache enabled"
190
+ value = local. cluster_dns_cache_enabled
191
+ }
192
+
188
193
output "cloudrun_enabled" {
189
194
description = " Whether CloudRun enabled"
190
195
value = local. cluster_cloudrun_enabled
@@ -195,11 +200,6 @@ output "istio_enabled" {
195
200
value = local. cluster_istio_enabled
196
201
}
197
202
198
- output "dns_cache_enabled" {
199
- description = " Whether DNS Cache enabled"
200
- value = local. cluster_dns_cache_enabled
201
- }
202
-
203
203
output "pod_security_policy_enabled" {
204
204
description = " Whether pod security policy is enabled"
205
205
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -190,13 +190,13 @@ locals {
190
190
191
191
# BETA features
192
192
cluster_istio_enabled = ! local. cluster_output_istio_disabled
193
- cluster_dns_cache_enabled = var. dns_cache
194
193
cluster_telemetry_type_is_set = var. cluster_telemetry_type != null
195
194
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
196
195
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
197
196
198
197
# /BETA features
199
198
199
+ cluster_dns_cache_enabled = var. dns_cache
200
200
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
201
201
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
202
202
}
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ output "mesh_certificates_config" {
175
175
}
176
176
177
177
178
+ output "dns_cache_enabled" {
179
+ description = " Whether DNS Cache enabled"
180
+ value = local. cluster_dns_cache_enabled
181
+ }
182
+
178
183
output "cloudrun_enabled" {
179
184
description = " Whether CloudRun enabled"
180
185
value = local. cluster_cloudrun_enabled
@@ -185,11 +190,6 @@ output "istio_enabled" {
185
190
value = local. cluster_istio_enabled
186
191
}
187
192
188
- output "dns_cache_enabled" {
189
- description = " Whether DNS Cache enabled"
190
- value = local. cluster_dns_cache_enabled
191
- }
192
-
193
193
output "pod_security_policy_enabled" {
194
194
description = " Whether pod security policy is enabled"
195
195
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -190,13 +190,13 @@ locals {
190
190
191
191
# BETA features
192
192
cluster_istio_enabled = ! local. cluster_output_istio_disabled
193
- cluster_dns_cache_enabled = var. dns_cache
194
193
cluster_telemetry_type_is_set = var. cluster_telemetry_type != null
195
194
cluster_pod_security_policy_enabled = local. cluster_output_pod_security_policy_enabled
196
195
cluster_intranode_visibility_enabled = local. cluster_output_intranode_visbility_enabled
197
196
198
197
# /BETA features
199
198
199
+ cluster_dns_cache_enabled = var. dns_cache
200
200
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
201
201
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
202
202
}
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ output "mesh_certificates_config" {
175
175
}
176
176
177
177
178
+ output "dns_cache_enabled" {
179
+ description = " Whether DNS Cache enabled"
180
+ value = local. cluster_dns_cache_enabled
181
+ }
182
+
178
183
output "cloudrun_enabled" {
179
184
description = " Whether CloudRun enabled"
180
185
value = local. cluster_cloudrun_enabled
@@ -185,11 +190,6 @@ output "istio_enabled" {
185
190
value = local. cluster_istio_enabled
186
191
}
187
192
188
- output "dns_cache_enabled" {
189
- description = " Whether DNS Cache enabled"
190
- value = local. cluster_dns_cache_enabled
191
- }
192
-
193
193
output "pod_security_policy_enabled" {
194
194
description = " Whether pod security policy is enabled"
195
195
value = local. cluster_pod_security_policy_enabled
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ module "gke" {
78
78
enable_private_endpoint = true
79
79
enable_private_nodes = true
80
80
master_ipv4_cidr_block = "10.0.0.0/28"
81
+ dns_cache = false
81
82
82
83
node_pools = [
83
84
{
@@ -275,6 +276,7 @@ Then perform the following commands on the root folder:
275
276
| ------| -------------|
276
277
| ca\_ certificate | Cluster ca certificate (base64 encoded) |
277
278
| cluster\_ id | Cluster ID |
279
+ | dns\_ cache\_ enabled | Whether DNS Cache enabled |
278
280
| endpoint | Cluster endpoint |
279
281
| fleet\_ membership | Fleet membership (if registered) |
280
282
| gateway\_ api\_ channel | The gateway api channel of this cluster. |
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ locals {
172
172
}] : []
173
173
174
174
175
+ cluster_dns_cache_enabled = var. dns_cache
175
176
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
176
177
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
177
178
}
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ output "peering_name" {
185
185
value = local. cluster_peering_name
186
186
}
187
187
188
+ output "dns_cache_enabled" {
189
+ description = " Whether DNS Cache enabled"
190
+ value = local. cluster_dns_cache_enabled
191
+ }
192
+
188
193
output "fleet_membership" {
189
194
description = " Fleet membership (if registered)"
190
195
value = local. fleet_membership
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ module "gke" {
56
56
enable_private_endpoint = true
57
57
enable_private_nodes = true
58
58
master_ipv4_cidr_block = "10.0.0.0/28"
59
+ dns_cache = false
59
60
60
61
node_pools = [
61
62
{
@@ -253,6 +254,7 @@ Then perform the following commands on the root folder:
253
254
| ------| -------------|
254
255
| ca\_ certificate | Cluster ca certificate (base64 encoded) |
255
256
| cluster\_ id | Cluster ID |
257
+ | dns\_ cache\_ enabled | Whether DNS Cache enabled |
256
258
| endpoint | Cluster endpoint |
257
259
| fleet\_ membership | Fleet membership (if registered) |
258
260
| gateway\_ api\_ channel | The gateway api channel of this cluster. |
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ locals {
172
172
}] : []
173
173
174
174
175
+ cluster_dns_cache_enabled = var. dns_cache
175
176
cluster_maintenance_window_is_recurring = var. maintenance_recurrence != " " && var. maintenance_end_time != " " ? [1 ] : []
176
177
cluster_maintenance_window_is_daily = length (local. cluster_maintenance_window_is_recurring ) > 0 ? [] : [1 ]
177
178
}
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ output "peering_name" {
185
185
value = local. cluster_peering_name
186
186
}
187
187
188
+ output "dns_cache_enabled" {
189
+ description = " Whether DNS Cache enabled"
190
+ value = local. cluster_dns_cache_enabled
191
+ }
192
+
188
193
output "fleet_membership" {
189
194
description = " Fleet membership (if registered)"
190
195
value = local. fleet_membership
You can’t perform that action at this time.
0 commit comments