From 007e52fe2a861337e404aa93489d6a45d26a830a Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Wed, 9 Oct 2024 16:58:48 +0800 Subject: [PATCH] charts: add LVM VolumeSnapshotClass as default - Also release 0.1.4 for it Signed-off-by: Vicente Cheng --- charts/harvester-csi-driver-lvm/Chart.yaml | 2 +- charts/harvester-csi-driver-lvm/templates/common.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/harvester-csi-driver-lvm/Chart.yaml b/charts/harvester-csi-driver-lvm/Chart.yaml index 27f49def..d1107a20 100644 --- a/charts/harvester-csi-driver-lvm/Chart.yaml +++ b/charts/harvester-csi-driver-lvm/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.3 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/harvester-csi-driver-lvm/templates/common.yaml b/charts/harvester-csi-driver-lvm/templates/common.yaml index a6eb745f..3a1a3325 100644 --- a/charts/harvester-csi-driver-lvm/templates/common.yaml +++ b/charts/harvester-csi-driver-lvm/templates/common.yaml @@ -10,3 +10,10 @@ spec: - Persistent podInfoOnMount: true attachRequired: false +--- +apiVersion: snapshot.storage.k8s.io/v1 +deletionPolicy: Delete +driver: lvm.driver.harvesterhci.io +kind: VolumeSnapshotClass +metadata: + name: lvm-snapshot \ No newline at end of file