]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: set dashboard grafana-api-password when user provides one 47545/head
authorAdam King <adking@redhat.com>
Wed, 10 Aug 2022 19:58:44 +0000 (15:58 -0400)
committerAdam King <adking@redhat.com>
Wed, 10 Aug 2022 21:01:36 +0000 (17:01 -0400)
commitc7d84f93b11915b2668af225eedd33781bb9a07b
tree29f846ff49025e5e1ffe6f15944934bb7075cec8
parent8761314777b6cad1d55a1cc1d1b6279fcb8d9e0d
mgr/cephadm: set dashboard grafana-api-password when user provides one

If a user provides this in the spec, cephadm will set up the inital admin
user with the given password, but the conig setting accessed with
"ceph dashboard get-grafana-api-password" is never updated. Cephadm
can handle updating it since it's the one setting the password.

Fixes: https://tracker.ceph.com/issues/57095
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/services/monitoring.py