From 0c091aba7ecf16a940a6c5058f89711d31ce7adc Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Thu, 23 Mar 2023 23:28:02 +0100 Subject: [PATCH] add snapshot class --- .../roles/k8s_storage_ebs_zfs_deploy/files/snapclass.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ansible/roles/k8s_storage_ebs_zfs_deploy/files/snapclass.yaml diff --git a/ansible/roles/k8s_storage_ebs_zfs_deploy/files/snapclass.yaml b/ansible/roles/k8s_storage_ebs_zfs_deploy/files/snapclass.yaml new file mode 100644 index 0000000..7217ff4 --- /dev/null +++ b/ansible/roles/k8s_storage_ebs_zfs_deploy/files/snapclass.yaml @@ -0,0 +1,8 @@ +kind: VolumeSnapshotClass +apiVersion: snapshot.storage.k8s.io/v1 +metadata: + name: zfs-snapshotclass + annotations: + snapshot.storage.kubernetes.io/is-default-class: "true" +driver: zfs.csi.openebs.io +deletionPolicy: Delete \ No newline at end of file