Merge pull request #2287 from hswong3i/cephfs_provisioner_default
Add optional StorageClass name with cephfs_provisioner_storage_class
This commit is contained in:
commit
cf183288dd
3 changed files with 3 additions and 1 deletions
|
@ -183,6 +183,7 @@ cephfs_provisioner_enabled: false
|
||||||
# - 172.24.0.3:6789
|
# - 172.24.0.3:6789
|
||||||
# cephfs_provisioner_admin_id: admin
|
# cephfs_provisioner_admin_id: admin
|
||||||
# cephfs_provisioner_secret: secret
|
# cephfs_provisioner_secret: secret
|
||||||
|
# cephfs_provisioner_storage_class: cephfs
|
||||||
|
|
||||||
# Add Persistent Volumes Storage Class for corresponding cloud provider ( OpenStack is only supported now )
|
# Add Persistent Volumes Storage Class for corresponding cloud provider ( OpenStack is only supported now )
|
||||||
persistent_volumes_enabled: false
|
persistent_volumes_enabled: false
|
||||||
|
|
|
@ -7,3 +7,4 @@ cephfs_provisioner_cluster: ceph
|
||||||
cephfs_provisioner_monitors: []
|
cephfs_provisioner_monitors: []
|
||||||
cephfs_provisioner_admin_id: admin
|
cephfs_provisioner_admin_id: admin
|
||||||
cephfs_provisioner_secret: secret
|
cephfs_provisioner_secret: secret
|
||||||
|
cephfs_provisioner_storage_class: cephfs
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: cephfs
|
name: {{ cephfs_provisioner_storage_class }}
|
||||||
provisioner: ceph.com/cephfs
|
provisioner: ceph.com/cephfs
|
||||||
parameters:
|
parameters:
|
||||||
cluster: {{ cephfs_provisioner_cluster }}
|
cluster: {{ cephfs_provisioner_cluster }}
|
||||||
|
|
Loading…
Reference in a new issue