]> 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)
committerAdam King <adking@redhat.com>
Thu, 21 Aug 2025 18:13:55 +0000 (14:13 -0400)
commita95b4c77b3b2ec297ca29f1ddcb09262bcb63a7e
treef7f5e2c0e0eae9e17b5591bc33a6473e4e9e04d4
parentc7da235ece91be4b32b211360207316c38377aa9
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>
(cherry picked from commit 1f74b5d81dfcd08814972550c533408a8be0de07)
src/pybind/mgr/cephadm/services/smb.py