diff options
author | Guillaume Abrioux <gabrioux@ibm.com> | 2024-07-10 15:50:59 +0200 |
---|---|---|
committer | Redouane Kachach <rkachach@ibm.com> | 2024-07-31 19:37:18 +0200 |
commit | 9dc630b00db26abfb72f9c884950e739c121aa5e (patch) | |
tree | 13457ba49a357ec472b0e331fab1917e36592f09 /src/cephadm/cephadm.py | |
parent | mgr/cephadm: adding mTLS support (diff) | |
download | ceph-9dc630b00db26abfb72f9c884950e739c121aa5e.tar.xz ceph-9dc630b00db26abfb72f9c884950e739c121aa5e.zip |
mgr/cephadm: add SSL support to ceph-exporter
This commit adds SSL support to the ceph-exporter deployment
made by cephadm. When `secure_monitoring_stack` is set to `True`,
the `ceph-exporter` container is restarted with SSL enabled.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Diffstat (limited to 'src/cephadm/cephadm.py')
-rwxr-xr-x | src/cephadm/cephadm.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py index 75ac3045c1e..5c0762f8bf3 100755 --- a/src/cephadm/cephadm.py +++ b/src/cephadm/cephadm.py @@ -167,6 +167,7 @@ from cephadmlib import templating from cephadmlib.daemons.ceph import get_ceph_mounts_for_type, ceph_daemons from cephadmlib.daemons import ( Ceph, + CephExporter, CephIscsi, CephNvmeof, CustomContainer, @@ -867,6 +868,10 @@ def create_daemon_dirs( node_proxy = NodeProxy.init(ctx, fsid, ident.daemon_id) node_proxy.create_daemon_dirs(data_dir, uid, gid) + elif daemon_type == CephExporter.daemon_type: + ceph_exporter = CephExporter.init(ctx, fsid, ident.daemon_id) + ceph_exporter.create_daemon_dirs(data_dir, uid, gid) + else: daemon = daemon_form_create(ctx, ident) if isinstance(daemon, ContainerDaemonForm): |