From ccf60fc9caf8ce6c3e937f9ecbae09652098bcdc Mon Sep 17 00:00:00 2001 From: Robin Wallace Date: Thu, 15 Dec 2022 01:15:34 +0100 Subject: [PATCH] upcloud: Delete default reclaim policy (#9574) --- .../upcloud-csi/templates/upcloud-csi-storage-class.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/persistent_volumes/upcloud-csi/templates/upcloud-csi-storage-class.yml.j2 b/roles/kubernetes-apps/persistent_volumes/upcloud-csi/templates/upcloud-csi-storage-class.yml.j2 index d5c84b544..a40df9b12 100644 --- a/roles/kubernetes-apps/persistent_volumes/upcloud-csi/templates/upcloud-csi-storage-class.yml.j2 +++ b/roles/kubernetes-apps/persistent_volumes/upcloud-csi/templates/upcloud-csi-storage-class.yml.j2 @@ -7,7 +7,7 @@ metadata: annotations: storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) | ternary("true","false") }}" provisioner: storage.csi.upcloud.com -reclaimPolicy: Retain +reclaimPolicy: Delete parameters: {% for key, value in (class.parameters | default({})).items() %} "{{ key }}": "{{ value }}"