Merge "Fixes generating public certificates"

This commit is contained in:
Zuul 2018-01-12 15:17:07 +00:00 committed by Gerrit Code Review
commit 664b788085
2 changed files with 18 additions and 4 deletions

View File

@ -62,6 +62,11 @@ parameters:
description: > description: >
The content of the SSL certificate (without Key) in PEM format. The content of the SSL certificate (without Key) in PEM format.
type: string type: string
PublicSSLCertificateAutogenerated:
default: false
description: >
Whether the public SSL certificate was autogenerated or not.
type: boolean
DeployedSSLCertificatePath: DeployedSSLCertificatePath:
default: '/etc/pki/tls/private/overcloud_endpoint.pem' default: '/etc/pki/tls/private/overcloud_endpoint.pem'
description: > description: >
@ -81,10 +86,14 @@ parameters:
conditions: conditions:
public_tls_enabled: public_tls_enabled:
not: or:
equals: - not:
- {get_param: SSLCertificate} equals:
- "" - {get_param: SSLCertificate}
- ""
- equals:
- {get_param: PublicSSLCertificateAutogenerated}
- true
resources: resources:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes generation public certificates for haproxy in a non-containerized
TLS deployment scenario.