change volumessnapshotclass to dedicated snap and bak classes

This commit is contained in:
Aaron Riedel 2023-08-26 11:36:42 +02:00
parent 5033454222
commit b3ea7b9145
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -1,6 +1,17 @@
kind: VolumeSnapshotClass kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1 apiVersion: snapshot.storage.k8s.io/v1
metadata: metadata:
name: longhorn name: longhorn-bak
driver: driver.longhorn.io driver: driver.longhorn.io
deletionPolicy: Delete 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