Skip to content

Commit 5013b20

Browse files
authored
Merge pull request #5682 from ameukam/gke-enable-csi
GKE: Enable GKE CSI driver
2 parents cb46c7e + a2f966b commit 5013b20

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

infra/gcp/terraform/kubernetes-public/10-cluster-configuration.tf

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ resource "google_container_cluster" "cluster" {
159159

160160
// Configure cluster addons
161161
addons_config {
162+
gce_persistent_disk_csi_driver_config {
163+
enabled = true
164+
}
162165
horizontal_pod_autoscaling {
163166
disabled = false
164167
}

infra/gcp/terraform/modules/gke-cluster/main.tf

+3
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ resource "google_container_cluster" "prod_cluster" {
161161

162162
// Configure cluster addons
163163
addons_config {
164+
gce_persistent_disk_csi_driver_config {
165+
enabled = true
166+
}
164167
horizontal_pod_autoscaling {
165168
disabled = false
166169
}

0 commit comments

Comments
 (0)