mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-11 23:50:19 +00:00
a3a10855da
use rbd secret for rbd storageclass
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9fb3743280
)
22 lines
731 B
YAML
22 lines
731 B
YAML
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: k8s-storage-e2e-rbd-rwo
|
|
provisioner: rbd.csi.ceph.com
|
|
parameters:
|
|
clusterID: @@CLUSTER_ID@@
|
|
pool: replicapool
|
|
imageFeatures: layering
|
|
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
|
|
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
|
|
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
|
|
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
|
|
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
|
|
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
|
|
csi.storage.k8s.io/fstype: ext4
|
|
reclaimPolicy: Delete
|
|
allowVolumeExpansion: true
|
|
mountOptions:
|
|
- discard
|