]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: expose more grafana configs in service form 51113/head
authorNizamudeen A <nia@redhat.com>
Mon, 14 Nov 2022 02:20:54 +0000 (07:50 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 17 Apr 2023 07:26:49 +0000 (12:56 +0530)
commit1729d19b890c0a572ba1215fa34e0f9ac336d72f
tree92d0d606a87b3b6791cced1f89513688e780d1a0
parent02d603f6121d748b66164ee0f9b06b5c95f99aab
mgr/dashboard: expose more grafana configs in service form

Show the grafana_port and initial_admin_password in the form but disable
the password field in the edit option

Fixes: https://tracker.ceph.com/issues/58016
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 6987191377e5ca623563ae851d87e0961416e3f4)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts
  - accept the current change and only apply the `case 'grafana'` in the
    PR.
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts