]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: allow passing client/server cert/key in nvmeof spec
authorAdam King <adking@redhat.com>
Thu, 23 May 2024 16:54:25 +0000 (12:54 -0400)
committerAdam King <adking@redhat.com>
Fri, 12 Jul 2024 13:06:11 +0000 (09:06 -0400)
commit48ba46f797ee0039591571f92d44bf6b63c55d39
treee1e039cb56e5c21a316644da36a7f6e4e69a8da6
parent35de8a926295023098602d83451194a1fcc2f68b
mgr/cephadm: allow passing client/server cert/key in nvmeof spec

Before this patch the client/server cert/key fields were
just filepaths that told the nvmeof gw daemon where to look
for the cert/key. There's not much reason why users would
care where in the nvmeof gw container the cert goes. It's more
useful to use these fields as a way to pass the certs/keys
to the daemon and then just hardcode where in the container
we'll place the certs/keys

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e9fca39092348e6c08022341116875e831c175f0)
(cherry picked from commit e2e6aeb40acc98070e0e2c4a0056e42458e9f4f1)
src/cephadm/cephadmlib/daemons/nvmeof.py
src/pybind/mgr/cephadm/services/nvmeof.py
src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2
src/python-common/ceph/deployment/service_spec.py