ceph-csi/scripts/k8s-storage/sc-rbd.yaml.in
Madhu Rajanna a3a10855da ci: fix secret name in rbd storageclass
use rbd secret for rbd storageclass

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9fb3743280)
2024-04-04 13:21:52 +00:00

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