From 7fe45699a7d829f17744e32cbcafaa273ff58ef2 Mon Sep 17 00:00:00 2001 From: Filippo Merante Date: Wed, 13 Sep 2023 11:33:56 +0200 Subject: [PATCH] fix default csi driver --- README.md | 2 +- variables.tf | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c2c528d..613e73f 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Then perform the following commands on the root folder: | gke\_enable\_image\_stream | Google Container File System (gcfs) has to be enabled for image streaming to be active. Needs image\_type to be set to COS\_CONTAINERD. | `bool` | `false` | no | | gke\_enable\_istio\_addon | Enable Istio addon | `bool` | `false` | no | | gke\_enable\_pod\_security\_policy | Enable Pod Security Policy for the cluster. Default false | `bool` | `false` | no | -| gke\_gce\_pd\_csi\_driver | Enable GCE Persistent Disk CSI Driver for GKE Cluster. Default false | `bool` | `false` | no | +| gke\_gce\_pd\_csi\_driver | Enable GCE Persistent Disk CSI Driver for GKE Cluster. Default true | `bool` | `true` | no | | gke\_gitaly\_pv\_labels | The GITALY Persistent Volume labels (a map of key/value pairs comma separeted) to match against when choosing a volume to bind. This is used in the PersistentVolumeClaim selector section | `map(string)` | `{}` | no | | gke\_google\_group\_rbac\_mail | The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format gke-security-groups@yourdomain.com | `string` | `"null"` | no | | gke\_image\_type | Define the image type of the cluster. Default COS\_CONTAINERD | `string` | `"COS_CONTAINERD"` | no | diff --git a/variables.tf b/variables.tf index c2cd1cb..9bd7267 100644 --- a/variables.tf +++ b/variables.tf @@ -421,10 +421,11 @@ variable "gke_node_pools_taints" { } } +# Migration from in-tree to CSI Driver: https://kubernetes.io/blog/2019/12/09/kubernetes-1-17-feature-csi-migration-beta/ variable "gke_gce_pd_csi_driver" { type = bool - description = "Enable GCE Persistent Disk CSI Driver for GKE Cluster. Default false" - default = false + description = "Enable GCE Persistent Disk CSI Driver for GKE Cluster. Default true" + default = true } ##################