Skip to content

Commit

Permalink
fix: enable private nodes with pod ip range
Browse files Browse the repository at this point in the history
fixes #1493
  • Loading branch information
splichy committed Dec 30, 2022
1 parent bcd5e03 commit eadd5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,8 @@ resource "google_container_node_pool" "windows_pools" {
dynamic "network_config" {
for_each = length(lookup(each.value, "pod_range", "")) > 0 ? [each.value] : []
content {
pod_range = lookup(network_config.value, "pod_range", null)
pod_range = lookup(network_config.value, "pod_range", null)
enable_private_nodes = var.enable_private_nodes
}
}
{% endif %}
Expand Down

0 comments on commit eadd5b9

Please sign in to comment.