Skip to content

Commit

Permalink
GKE: Enable GKE CSI driver
Browse files Browse the repository at this point in the history
Starting with GKE 1.25, GKE CSI driver is enabled by default.
Reconciciling the terraform code to reflect the change introduced.
See: https://cloud.google.com/kubernetes-engine/docs/release-notes#June_08_2023

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Aug 4, 2023
1 parent 811358b commit a2f966b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ resource "google_container_cluster" "cluster" {

// Configure cluster addons
addons_config {
gce_persistent_disk_csi_driver_config {
enabled = true
}
horizontal_pod_autoscaling {
disabled = false
}
Expand Down
3 changes: 3 additions & 0 deletions infra/gcp/terraform/modules/gke-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ resource "google_container_cluster" "prod_cluster" {

// Configure cluster addons
addons_config {
gce_persistent_disk_csi_driver_config {
enabled = true
}
horizontal_pod_autoscaling {
disabled = false
}
Expand Down

0 comments on commit a2f966b

Please sign in to comment.