]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: move Grafana's subpath handling logic to grafana config
authorRedouane Kachach <rkachach@ibm.com>
Tue, 1 Oct 2024 08:38:39 +0000 (10:38 +0200)
committerRedouane Kachach <rkachach@ibm.com>
Thu, 10 Oct 2024 14:44:38 +0000 (16:44 +0200)
commite80b7ba4add2d698555112e0ec46328cab703688
treebf74e9084aed4db138c2ab5cb71cd488fde9f679
parent63657541c3bd9a4eccd3db8f5d457b2feda842bf
mgr/cephadm: move Grafana's subpath handling logic to grafana config

Fixes: https://tracker.ceph.com/issues/68315
So far, Grafana's subpath handling has been managed on the Nginx
server side using a rewrite rule. Let's move this logic to the Grafana
side to make it consistent with the rest of the monitoring services.

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/templates/services/grafana/grafana.ini.j2
src/pybind/mgr/cephadm/templates/services/mgmt-gateway/external_server.conf.j2