change volumessnapshotclass to dedicated snap and bak classes
This commit is contained in:
parent
5033454222
commit
b3ea7b9145
1 changed files with 13 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue