]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: use secure_channel for grpc requests
authorNizamudeen A <nia@redhat.com>
Mon, 27 May 2024 04:35:21 +0000 (10:05 +0530)
committerAdam King <adking@redhat.com>
Fri, 12 Jul 2024 13:09:32 +0000 (09:09 -0400)
commit12b060613c371e7e175ebef954d8e411d9676891
treebb7c977f14a6b624b9bc7bb0f37d1e68a16b72ae
parent3fc5ad2bcdf27e251ed6531b4eec7c743c1b35a2
mgr/dashboard: use secure_channel for grpc requests

Store the certificates to config-key stores and then later on used by
dashboard to set-up the secure_channel for grpc nvmeof requests

By storing the certificates we can ensure that the dashboard nvmeof apis
will be configurable even if the deployments are not cephadm based

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 0a393ca9bde714524da369caaef1c097472f791c)
(cherry picked from commit ebcb198894347d1a21ab4cd81fea985aca454b29)

Conflicts:
src/pybind/mgr/dashboard/services/orchestrator.py
src/pybind/mgr/cephadm/services/nvmeof.py
src/pybind/mgr/dashboard/services/nvmeof_client.py
src/pybind/mgr/dashboard/services/nvmeof_conf.py
src/pybind/mgr/dashboard/services/orchestrator.py