]> 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)
committerNizamudeen A <nia@redhat.com>
Tue, 9 Jul 2024 09:50:17 +0000 (15:20 +0530)
commitebcb198894347d1a21ab4cd81fea985aca454b29
treed8d66baa4ec549de426bdbe0b70b05e7c7d66513
parentccdfe8e4606eeb9b25c35e104cb2ad4ccd9eb5c1
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)
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