add csi ceph
This commit is contained in:
37
roles/ceph-csi-rbd/defaults/main.yaml
Normal file
37
roles/ceph-csi-rbd/defaults/main.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
ceph_csi_rbd_namespace: "ceph-csi-rbd"
|
||||
ceph_csi_rbd_chart_ref: "ceph-csi/ceph-csi-rbd"
|
||||
ceph_csi_rbd_default_values:
|
||||
nodeplugin:
|
||||
httpMetrics:
|
||||
# Fix nginx conflict
|
||||
containerPort: 8082
|
||||
storageClass:
|
||||
# Specifies whether the storageclass should be created
|
||||
create: true
|
||||
name: csi-rbd-sc
|
||||
|
||||
# Annotations for the storage class
|
||||
# Example:
|
||||
# annotations:
|
||||
# storageclass.kubernetes.io/is-default-class: "true"
|
||||
annotations: {}
|
||||
|
||||
# (required) String representing a Ceph cluster to provision storage from.
|
||||
# Should be unique across all Ceph clusters in use for provisioning,
|
||||
# cannot be greater than 36 bytes in length, and should remain immutable for
|
||||
# the lifetime of the StorageClass in use.
|
||||
clusterID: ceph
|
||||
|
||||
# (required) Ceph pool into which the RBD image shall be created
|
||||
# eg: pool: replicapool
|
||||
pool: k8s
|
||||
|
||||
secret:
|
||||
# Specifies whether the secret should be created
|
||||
create: true
|
||||
name: csi-rbd-secret
|
||||
# Key values correspond to a user name and its key, as defined in the
|
||||
# ceph cluster. User ID should have required access to the 'pool'
|
||||
# specified in the storage class
|
||||
userID: ""
|
||||
userKey: ""
|
Reference in New Issue
Block a user