From b3ea7b914543e75b3def17e4ac16c112389f4ab7 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 26 Aug 2023 11:36:42 +0200 Subject: [PATCH] change volumessnapshotclass to dedicated snap and bak classes --- longhorn/volumesnapshotclass.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/longhorn/volumesnapshotclass.yaml b/longhorn/volumesnapshotclass.yaml index e14b02f..b6c3ec8 100644 --- a/longhorn/volumesnapshotclass.yaml +++ b/longhorn/volumesnapshotclass.yaml @@ -1,6 +1,17 @@ kind: VolumeSnapshotClass apiVersion: snapshot.storage.k8s.io/v1 metadata: - name: longhorn + name: longhorn-bak driver: driver.longhorn.io -deletionPolicy: Delete \ No newline at end of file +deletionPolicy: Delete +parameters: + type: bak +--- +kind: VolumeSnapshotClass +apiVersion: snapshot.storage.k8s.io/v1 +metadata: + name: longhorn-snap +driver: driver.longhorn.io +deletionPolicy: Delete +parameters: + type: snap \ No newline at end of file