From 366c0a85f0ff536ae1b7ef0e662644b3bc75e6ea Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Thu, 6 Jun 2024 15:05:35 +0300 Subject: [PATCH] Add CephFS sample deployment Can be used for testing OCM discovered application using CephFS storage. We will add subscription overlay later. Signed-off-by: Nir Soffer --- .../k8s-regional-cephfs/kustomization.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 workloads/deployment/k8s-regional-cephfs/kustomization.yaml diff --git a/workloads/deployment/k8s-regional-cephfs/kustomization.yaml b/workloads/deployment/k8s-regional-cephfs/kustomization.yaml new file mode 100644 index 0000000..0429111 --- /dev/null +++ b/workloads/deployment/k8s-regional-cephfs/kustomization.yaml @@ -0,0 +1,16 @@ +--- +resources: + - ../base +patches: + # Customize for internal cephfs storage. + - target: + kind: PersistentVolumeClaim + name: busybox-pvc + patch: |- + - op: replace + path: /spec/storageClassName + value: rook-cephfs + - op: replace + path: /spec/accessModes + value: + - ReadWriteMany