From 3fbe47be79123b818d55bbe507d7cc0aae8f044d Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 20 Apr 2024 02:28:36 +0700 Subject: [PATCH] feat: deploy VolSync and external snapshotter --- system/rook-ceph/Chart.yaml | 5 +++++ system/rook-ceph/values.yaml | 6 ++++++ system/volsync-system/Chart.yaml | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 system/volsync-system/Chart.yaml diff --git a/system/rook-ceph/Chart.yaml b/system/rook-ceph/Chart.yaml index 5110c416..0a812356 100644 --- a/system/rook-ceph/Chart.yaml +++ b/system/rook-ceph/Chart.yaml @@ -8,3 +8,8 @@ dependencies: - name: rook-ceph-cluster version: 1.13.5 repository: https://charts.rook.io/release + # TODO switch to official chart when there is one + # https://github.com/kubernetes-csi/external-snapshotter/issues/812 + - name: snapshot-controller + version: 2.2.1 + repository: https://piraeus.io/helm-charts diff --git a/system/rook-ceph/values.yaml b/system/rook-ceph/values.yaml index 0e4855ad..e97cadc6 100644 --- a/system/rook-ceph/values.yaml +++ b/system/rook-ceph/values.yaml @@ -52,6 +52,9 @@ rook-ceph-cluster: csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}" csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}" + cephBlockPoolsVolumeSnapshotClass: + enabled: true + isDefault: true cephFileSystems: - name: standard-rwx spec: @@ -85,4 +88,7 @@ rook-ceph-cluster: csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}" csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}" + cephFileSystemVolumeSnapshotClass: + enabled: true + isDefault: false cephObjectStores: [] diff --git a/system/volsync-system/Chart.yaml b/system/volsync-system/Chart.yaml new file mode 100644 index 00000000..b5b67329 --- /dev/null +++ b/system/volsync-system/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: volsync +version: 0.0.0 +dependencies: + - name: volsync + version: 0.9.1 + repository: https://backube.github.io/helm-charts