]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: support tls creds via uri in service spec
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 1 Jul 2025 23:08:02 +0000 (19:08 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:50:43 +0000 (10:50 -0400)
commit1f74b5d81dfcd08814972550c533408a8be0de07
tree4bcb8d9eb74fad5709705e876bdb598f9014f6f7
parentef84df2f45f359ec1a9f26610a9fb5d936d54dbd
mgr/cephadm: support tls creds via uri in service spec

Support populating the cert data sent to the cephadm binary using
special `URI:` prefixed strings instead of putting the cert data itself
in the smb service spec. This avoids having an extra copy of the cert
floating around but still matches the behavior of other services where
cephadm writes the certs into files.

In the future we may be able to avoid even putting the data in here as
sambacc can use rados apis - but for simplicity and matching other
services we will send the data this way for now.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/services/smb.py