The current implementation of ceph-docker for k8s uses only Secrets. ConfigMaps are a better fit for the ceph.conf since it doesn't need to be encoded as base64 (and is readable/updatable).
The unfortunate issue with ConfigMaps and Secrets in K8s is that they each take over a whole directory.
The recommended workaround is using a init-container to preprocess the config/secrets by moving or linking them from a temp directories to the final /etc/ceph directory.
The current implementation of ceph-docker for k8s uses only Secrets. ConfigMaps are a better fit for the ceph.conf since it doesn't need to be encoded as base64 (and is readable/updatable).
The unfortunate issue with ConfigMaps and Secrets in K8s is that they each take over a whole directory.
The recommended workaround is using a init-container to preprocess the config/secrets by moving or linking them from a temp directories to the final /etc/ceph directory.
Time to test it out...