mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-21 04:20:23 +00:00
d02e50aa9b
Existing config maps are now replaced with rados omaps that help store information regarding the requested volume names and the rbd image names backing the same. Further to detect cluster, pool and which image a volume ID refers to, changes to volume ID encoding has been done as per provided design specification in the stateless ceph-csi proposal. Additional changes and updates, - Updated documentation - Updated manifests - Updated Helm chart - Addressed a few csi-test failures Signed-off-by: ShyamsundarR <srangana@redhat.com>
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
---
|
|
# This is a sample config map that helps define a Ceph cluster configuration
|
|
# as required by the CSI plugins.
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
# The <cluster-id> is used by the CSI plugin to uniquely identify and use a
|
|
# Ceph cluster, the value MUST match the value provided as `clusterID` in the
|
|
# StorageClass
|
|
# The <MONValue#> fields are the various monitor addresses for the Ceph cluster
|
|
# identified by the <cluster-id>
|
|
# If a CSI plugin is using more than one Ceph cluster, repeat the section for
|
|
# each such cluster in use.
|
|
# To add more clusters or edit MON addresses in an existing config map, use
|
|
# the `kubectl replace` command.
|
|
# NOTE: Changes to the config map is automatically updated in the running pods,
|
|
# thus restarting existing pods using the config map is NOT required on edits
|
|
# to the config map.
|
|
data:
|
|
config.json: |-
|
|
[
|
|
{
|
|
"clusterID": "<cluster-id>",
|
|
"monitors": [
|
|
"<MONValue1>",
|
|
"<MONValue2>",
|
|
...
|
|
"<MONValueN>"
|
|
]
|
|
}
|
|
]
|
|
metadata:
|
|
name: ceph-csi-config
|