diff --git a/clr-k8s-examples/7-rook/overlays/v1.0.3/kustomization.yaml b/clr-k8s-examples/7-rook/overlays/v1.0.3/kustomization.yaml index 20ee54e..a7fdd47 100644 --- a/clr-k8s-examples/7-rook/overlays/v1.0.3/kustomization.yaml +++ b/clr-k8s-examples/7-rook/overlays/v1.0.3/kustomization.yaml @@ -5,4 +5,7 @@ resources: - rook/cluster/examples/kubernetes/ceph/storageclass.yaml patchesStrategicMerge: - - patch_operator.yaml \ No newline at end of file + - patch_operator.yaml + # patches rook to use 'directories' instead of partitions. + # comment out to use partitions + - patch_cephcluster.yaml \ No newline at end of file diff --git a/clr-k8s-examples/7-rook/overlays/v1.0.3/patch_cephcluster.yaml b/clr-k8s-examples/7-rook/overlays/v1.0.3/patch_cephcluster.yaml new file mode 100644 index 0000000..194933a --- /dev/null +++ b/clr-k8s-examples/7-rook/overlays/v1.0.3/patch_cephcluster.yaml @@ -0,0 +1,9 @@ +apiVersion: ceph.rook.io/v1 +kind: CephCluster +metadata: + name: rook-ceph + namespace: rook-ceph +spec: + storage: + directories: + - path: /var/lib/rook \ No newline at end of file