From: Nizamudeen A Date: Mon, 14 Nov 2022 02:20:54 +0000 (+0530) Subject: mgr/dashboard: expose more grafana configs in service form X-Git-Tag: v16.2.14~97^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1729d19b890c0a572ba1215fa34e0f9ac336d72f;p=ceph.git 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 (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. --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html index dcd898d88537..34f90d33dc9f 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html @@ -682,6 +682,65 @@ + + +
+ +
+ + The entered value needs to be a number. + The value must be at least 1. + The value cannot exceed 65535. + This field is required. +
+
+ +
+ +
+
+ + + + + + +
+
+
+