]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: set dashboard grafana-api-password when user provides one 47662/head
authorAdam King <adking@redhat.com>
Wed, 10 Aug 2022 19:58:44 +0000 (15:58 -0400)
committerAdam King <adking@redhat.com>
Wed, 17 Aug 2022 19:14:20 +0000 (15:14 -0400)
commit41d5f0839ecbc28a78f1b249b1ace2447ffc1f1f
tree3f70a979b0d586e682becdd13329ceccbf78146a
parent7458e41e690802021052863e5164a4143b1d499e
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>
(cherry picked from commit c7d84f93b11915b2668af225eedd33781bb9a07b)

Conflicts:
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/services/monitoring.py