]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: mount nvmeof certs into container
authorAdam King <adking@redhat.com>
Tue, 20 Aug 2024 14:51:09 +0000 (10:51 -0400)
committerAlexander Indenbaum <aindenba@redhat.com>
Wed, 19 Nov 2025 18:41:52 +0000 (20:41 +0200)
https://github.com/ceph/ceph/commit/2946b195edfc0b6a5cfcc661079e351601707ecb
incorrectly removed this line and since then these certs are
not being properly mounted into the container. This commit
adds the line back

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 8cc3a35c2dcd7553f0c1b45a895401c4e575f99d)

src/cephadm/cephadmlib/daemons/nvmeof.py

index 9b849497e0ec7f5dc57f1a26ec882621c319617a..9bce32201bb6fbbd5d95c7ed723e6ca75c23c36c 100644 (file)
@@ -111,6 +111,7 @@ class CephNvmeof(ContainerDaemonForm):
             )
         else:
             mounts.update(self._get_container_mounts(data_dir, log_dir))
+        mounts.update(self._get_tls_cert_key_mounts(data_dir, self.files))
 
     def customize_container_binds(
         self, ctx: CephadmContext, binds: List[List[str]]