]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add a helper function for setting up smb config
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 30 Jun 2025 23:11:34 +0000 (19:11 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:24:49 +0000 (10:24 -0400)
commit56fb07fad11b6fad0008c618c9e400bd0417b1e7
treee15ac9d47be7e7af475bf72bc3d5b10ac7927933
parent09da84fe1879ddb1752fceee4746880477cf0c04
mgr/cephadm: add a helper function for setting up smb config

Add a private helper function for copying values into the config_blobs
and similar dictionaries that are serialized and passed to cephadm for
configuration of smb. The helper automates the familiar pattern of
```
if value:
    config_blobs[key] = value
```

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