storageclass.yaml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. apiVersion: storage.k8s.io/v1
  2. kind: StorageClass
  3. metadata:
  4. name: rook-cephfs
  5. # Change "rook-ceph" provisioner prefix to match the operator namespace if needed
  6. provisioner: supernova-ns.cephfs.csi.ceph.com
  7. parameters:
  8. # clusterID is the namespace where the rook cluster is running
  9. # If you change this namespace, also change the namespace below where the secret namespaces are defined
  10. clusterID: supernova-ns
  11. # CephFS filesystem name into which the volume shall be created
  12. fsName: myfs
  13. # Ceph pool into which the volume shall be created
  14. # Required for provisionVolume: "true"
  15. pool: myfs-replicated
  16. # The secrets contain Ceph admin credentials. These are generated automatically by the operator
  17. # in the same namespace as the cluster.
  18. csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
  19. csi.storage.k8s.io/provisioner-secret-namespace: supernova-ns
  20. csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
  21. csi.storage.k8s.io/controller-expand-secret-namespace: supernova-ns
  22. csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
  23. csi.storage.k8s.io/node-stage-secret-namespace: supernova-ns
  24. reclaimPolicy: Delete