From 2b4463b6ef3821655f953e695d13990b25b6cb55 Mon Sep 17 00:00:00 2001 From: "ryan-distrust.co" Date: Thu, 8 Jun 2023 21:55:17 -0400 Subject: [PATCH] k/digitalocean: rename CSI drivers (breaking) --- kustomizations/digitalocean/csi-driver/driver.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kustomizations/digitalocean/csi-driver/driver.yaml b/kustomizations/digitalocean/csi-driver/driver.yaml index 37a4cc5..8197b62 100644 --- a/kustomizations/digitalocean/csi-driver/driver.yaml +++ b/kustomizations/digitalocean/csi-driver/driver.yaml @@ -44,6 +44,7 @@ metadata: annotations: storageclass.kubernetes.io/is-default-class: "true" provisioner: dobs.csi.digitalocean.com +reclaimPolicy: Retain allowVolumeExpansion: true --- @@ -51,9 +52,9 @@ allowVolumeExpansion: true kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: - name: do-block-storage-retain + name: do-block-storage-ephemeral provisioner: dobs.csi.digitalocean.com -reclaimPolicy: Retain +reclaimPolicy: Delete allowVolumeExpansion: true --- @@ -65,6 +66,7 @@ metadata: provisioner: dobs.csi.digitalocean.com parameters: fstype: xfs +reclaimPolicy: Retain allowVolumeExpansion: true --- @@ -72,11 +74,11 @@ allowVolumeExpansion: true kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: - name: do-block-storage-xfs-retain + name: do-block-storage-xfs-ephemeral provisioner: dobs.csi.digitalocean.com parameters: fstype: xfs -reclaimPolicy: Retain +reclaimPolicy: Delete allowVolumeExpansion: true ---