1 # taken from example at https://rook.github.io/docs/rook/v1.2/ceph-filesystem.html
3 apiVersion: storage.k8s.io/v1
6 name: {{ rook_filesystem_storageclass_name }}
7 # Change "rook-ceph" provisioner prefix to match the operator namespace if needed
8 provisioner: {{ rook_namespace }}.cephfs.csi.ceph.com
10 # clusterID is the namespace where operator is deployed.
11 clusterID: {{ rook_namespace }}
13 # CephFS filesystem name into which the volume shall be created
14 fsName: {{ rook_filesystem_name }}
16 # Ceph pool into which the volume shall be created
17 # Required for provisionVolume: "true"
18 pool: {{ rook_filesystem_name }}-data0
20 # Root path of an existing CephFS volume
21 # Required for provisionVolume: "false"
22 # rootPath: /absolute/path
24 # The secrets contain Ceph admin credentials. These are generated automatically by the operator
25 # in the same namespace as the cluster.
26 csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
27 csi.storage.k8s.io/node-stage-secret-namespace: {{ rook_namespace }}
28 csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
29 csi.storage.k8s.io/provisioner-secret-namespace: {{ rook_namespace }}