Skip to content

Commit

Permalink
fix: remove datapath provider from Autopilot modules
Browse files Browse the repository at this point in the history
You cannot set datapath for Autopilot clusters.

Fixes #1446

Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Feb 3, 2023
1 parent 24c09ec commit 0ffece4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions modules/beta-autopilot-private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ resource "google_container_cluster" "primary" {

}

datapath_provider = var.datapath_provider

networking_mode = "VPC_NATIVE"
ip_allocation_policy {
cluster_secondary_range_name = var.ip_range_pods
Expand Down
2 changes: 0 additions & 2 deletions modules/beta-autopilot-public-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ resource "google_container_cluster" "primary" {

}

datapath_provider = var.datapath_provider

networking_mode = "VPC_NATIVE"
ip_allocation_policy {
cluster_secondary_range_name = var.ip_range_pods
Expand Down

0 comments on commit 0ffece4

Please sign in to comment.