]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add separate option to config SSL port 27393/head
authorVolker Theile <vtheile@suse.com>
Tue, 12 Mar 2019 13:12:55 +0000 (14:12 +0100)
committerTatjana Dehler <tdehler@suse.com>
Fri, 5 Apr 2019 10:25:35 +0000 (12:25 +0200)
commite3f2ede6b39be9ddb109a20c1c25f9f9bdf7e86e
tree05c63acafcd6879a3b49fe9d363912d0c89c101a
parent62a0d7268da68e8f4be61eb003bd5522076edfeb
mgr/dashboard: Add separate option to config SSL port

There is a need to introduce this new config option because the MgrModule::get_module_option() and MgrModule::get_localized_module_option() method will be refactored soon and will not support the default parameter anymore. Instead the default value must be configured in the MODULE_OPTIONS. Currently we misuse the server_port depending on if SSL is enabled or not.

Fixes: https://tracker.ceph.com/issues/38331
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 86f47f6bfda6c2d45c97801a522a200225abc3d4)
doc/mgr/dashboard.rst
qa/tasks/mgr/dashboard/helper.py
qa/tasks/mgr/test_dashboard.py
qa/tasks/mgr/test_module_selftest.py
src/pybind/mgr/dashboard/module.py