Skip to content

Commit

Permalink
fix: Add ability to set release channel to None for cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
cfernhout committed Aug 26, 2024
1 parent 3f78786 commit 9fa4eb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "google_container_cluster" "default" {
project = var.project_id
network = var.vpc_id
subnetwork = var.subnetwork
master_version = data.google_container_engine_versions.cluster.latest_master_version
min_master_version = data.google_container_engine_versions.cluster.latest_master_version

networking_mode = "VPC_NATIVE"

Expand Down Expand Up @@ -53,7 +53,7 @@ resource "google_container_cluster" "default" {
}

release_channel {
channel = "STABLE"
channel = var.k8s_node_auto_upgrade ? "STABLE" : "UNSPECIFIED"
}

node_config {
Expand Down

0 comments on commit 9fa4eb6

Please sign in to comment.