]> 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>
Mon, 8 Jul 2024 21:11:44 +0000 (17:11 -0400)
commite2e6aeb40acc98070e0e2c4a0056e42458e9f4f1
treee4363f452e5c2aa2324c8ef750a839095fb47bcb
parent08d7ff952d78d1bbda04d5ff7e3db1e733301072
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)
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