File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
beta-autopilot-private-cluster
beta-autopilot-public-cluster Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -298,8 +298,10 @@ resource "google_container_cluster" "primary" {
298298 }
299299 {% endif %}
300300 }
301-
301+ {% if autopilot_cluster != true %}
302+
302303 datapath_provider = var.datapath_provider
304+ {% endif %}
303305
304306 {% if beta_cluster %}
305307 networking_mode = "VPC_NATIVE"
Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ resource "google_container_cluster" "primary" {
119119
120120 }
121121
122- datapath_provider = var. datapath_provider
123-
124122 networking_mode = " VPC_NATIVE"
125123 ip_allocation_policy {
126124 cluster_secondary_range_name = var. ip_range_pods
Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ resource "google_container_cluster" "primary" {
119119
120120 }
121121
122- datapath_provider = var. datapath_provider
123-
124122 networking_mode = " VPC_NATIVE"
125123 ip_allocation_policy {
126124 cluster_secondary_range_name = var. ip_range_pods
You can’t perform that action at this time.
0 commit comments