]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: extend tls config to work with Rook orch 61468/head
authorSunnatillo <sunnat.samadov@est.tech>
Tue, 21 Jan 2025 13:21:09 +0000 (15:21 +0200)
committerSunnatillo <sunnat.samadov@est.tech>
Fri, 13 Jun 2025 08:17:05 +0000 (11:17 +0300)
commit64f590cc8f03c9aab909c3ea5b9f53271ba3c15b
treede49121c69bd88fa3524d902daa3ba73ae7c31f8
parentbda2ad59aa925ab9463e748d075e96f14d070492
mgr/prometheus: extend tls config to work with Rook orch

This commit extends tls to work with Rook orch that has been deployed for cephadm.

Certificates are read from rook namespace via kubernetes api client.
Name of the secrets are provided by following parameter:

prometheus_tls_secret_name (default secret name "rook-ceph-prometheus-server-tls")

When cephadm is used it generates silf signed certificates, when
rook used it reads certififcates from kubernetes client api in rook_env.namespace.

Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
src/pybind/mgr/prometheus/module.py
src/pybind/mgr/rook/module.py