Fix dashboard_frontend_vip parameter

This patch fixes the dashboard_frontend_vip network
used to properly configure grafana in HA, reflecting
the change we have in haproxy.pp
This change also exposes a new variable to give the
operators the chance to configure a read-only admin
user (e.g., no pools can be created through the
dashboard).

Depends-On: https://review.opendev.org/#/c/713892
Change-Id: I263133c046c8c48f838da6d506b5dd046fbf7048
Closes-Bug: #1868118
This commit is contained in:
Francesco Pantano 2020-03-19 19:56:39 +01:00
parent ebe1a40fb9
commit a6ff7e2eac
No known key found for this signature in database
GPG Key ID: 799868C47301D458
1 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,10 @@ parameters:
type: boolean
default: false
description: Parameter used to trigger the dashboard deployment.
CephDashboardAdminRO:
type: boolean
default: true
description: Parameter used to set a read-only admin user.
EnableInternalTLS:
type: boolean
default: false
@ -75,7 +79,8 @@ resources:
dashboard_rgw_api_scheme: {get_param: [EndpointMap, CephRgwInternal, protocol]}
dashboard_rgw_api_no_ssl_verify: false
dashboard_port: 8444
dashboard_frontend_vip: {get_param: [EndpointMap, CephGrafanaInternal, host]}
dashboard_frontend_vip: {get_param: [EndpointMap, CephDashboardInternal, host]}
dashboard_admin_user_ro: {get_param: CephDashboardAdminRO}
outputs:
role_data: