Fix ceph dashboard warnings
When applying the rook ceph some warnings regarding the nodePort and the password were showing up due to them not being specified on the resources.yaml Added the nodePort and the password to the resources.yaml and specified their description and type. Test plan: - PASS: Enable the ceph dashboard - PASS: Apply the rook-ceph application - PASS: Check the helm controller logs - PASS: There must not be any warning regarding the fields - PASS: Access the https://<floating_ip>:30443 - PASS: Check if the dashboard is being correctly launched Closes-bug: 2086124 Change-Id: I0766d4f4796fb95615b46882fa802342d76e7688 Signed-off-by: Arthur Antonio Duarte Freire <arthurantonio.duartefreire@windriver.com>
This commit is contained in:
parent
0e7ce084f8
commit
7569f3a4d1
@ -12,7 +12,8 @@ Add support for ceph dashboard by creating the following resources:
|
||||
.../templates/dashboard-external.yaml | 23 +++++++++++++++++++
|
||||
.../templates/dashboard-secret.yaml | 10 ++++++++
|
||||
.../templates/dashboard-gnp.yaml | 18 +++++++++++++++
|
||||
3 files changed, 51 insertions(+)
|
||||
.../charts/rook-ceph/templates/resources.yaml | 6 +++++
|
||||
4 files changed, 57 insertions(+)
|
||||
create mode 100644 deploy/charts/rook-ceph-cluster/templates/dashboard-external.yaml
|
||||
create mode 100644 deploy/charts/rook-ceph-cluster/templates/dashboard-secret.yaml
|
||||
create mode 100644 deploy/charts/rook-ceph-cluster/templates/dashboard-gnp.yaml
|
||||
@ -86,5 +87,22 @@ index 0000000..a000ff0
|
||||
+ types:
|
||||
+ - Ingress
|
||||
+{{ end }}
|
||||
diff --git a/deploy/charts/rook-ceph/templates/resources.yaml b/deploy/charts/rook-ceph/templates/resources.yaml
|
||||
index 87cacb5..ef6642e 100644
|
||||
--- a/deploy/charts/rook-ceph/templates/resources.yaml
|
||||
+++ b/deploy/charts/rook-ceph/templates/resources.yaml
|
||||
@@ -1011,6 +1011,12 @@ spec:
|
||||
maximum: 65535
|
||||
minimum: 0
|
||||
type: integer
|
||||
+ nodePort:
|
||||
+ description: Port to be used to external access
|
||||
+ type: integer
|
||||
+ password:
|
||||
+ description: Password to be used on the dashboard
|
||||
+ type: string
|
||||
prometheusEndpoint:
|
||||
description: Endpoint for the Prometheus host
|
||||
type: string
|
||||
--
|
||||
2.34.1
|
Loading…
x
Reference in New Issue
Block a user