2022-01-11 13:25:46 +00:00
|
|
|
{{- if index .Values "lvm-localpv" "enabled" }}
|
|
|
|
kind: VolumeSnapshotClass
|
|
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
|
|
|
metadata:
|
2024-11-04 13:41:40 +00:00
|
|
|
name: openebs-lvm-snapshots
|
2022-01-11 13:25:46 +00:00
|
|
|
#annotations:
|
|
|
|
# snapshot.storage.kubernetes.io/is-default-class: "true"
|
|
|
|
labels:
|
|
|
|
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
|
|
|
driver: local.csi.openebs.io
|
|
|
|
deletionPolicy: Delete
|
|
|
|
{{- end }}
|