Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Add dashboard_tls_external ceph-ansible parameter"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 21, 2020
2 parents 6269d5c + 53d892a commit 094631e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployment/ceph-ansible/ceph-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ parameters:
type: string
constraints:
- allowed_values: ['swift', 'file', 'rbd', 's3']
EnableInternalTLS:
type: boolean
default: false

parameter_groups:
- label: deprecated
Expand Down Expand Up @@ -374,6 +377,7 @@ conditions:
equals:
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, CephMonNetwork]}]}
- 6
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}

resources:
ContainerImageUrlParts:
Expand Down Expand Up @@ -615,6 +619,12 @@ outputs:
if:
- dashboard_is_enabled
- map_merge:
- if:
- internal_tls_enabled
-
dashboard_tls_external: true
dashboard_grafana_api_no_ssl_verify: true
- {}
- {get_attr: [CephBaseAnsibleVars, value, vars]}
- dashboard_admin_password: {get_param: CephDashboardAdminPassword}
- grafana_admin_password: {get_param: CephGrafanaAdminPassword}
Expand Down

0 comments on commit 094631e

Please sign in to comment.