mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-09-19 23:19:52 +00:00
06f411bbf3
Uses a slightly modified version of https://github.com/kubernetes-incubator/external-storage/blob/master/ceph/cephfs/cephfs_provisioner/cephfs_provisioner.py This should be rewritten properly in Go, but for it works for now - for demonstration purposes TODO: * readOnly is not taken into account * controllerServer.DeleteVolume does nothing
13 lines
273 B
YAML
13 lines
273 B
YAML
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: cephfs
|
|
provisioner: cephfsplugin
|
|
parameters:
|
|
adminID: admin
|
|
adminSecret: AQCdsp9aaowqEhAAHx5EFnTQBnTU7Dr1UzHwmQ==
|
|
clusterName: ceph
|
|
pool: cephfs
|
|
monitor: 192.168.122.11:6789
|
|
reclaimPolicy: Delete
|