longhorn/examples/snapshot/snapshotclass.yaml
Sheng Yang 08e1522f6e Sync with Longhorn manager
commit 53203078833122cf1544e4145bf12ecec4e7d097
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Sun Dec 6 10:25:22 2020 -0800

    deploy: add iscsi deploy helper

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-12-06 11:02:15 -08:00

9 lines
285 B
YAML

kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1beta1
metadata:
name: longhorn
driver: driver.longhorn.io
deletionPolicy: Delete
#parameters:
# csi.storage.k8s.io/snapshotter-secret-name: mysecret
# csi.storage.k8s.io/snapshotter-secret-namespace: mysecretnamespace