Merge "undercloud-post: Discard CA usage if not set"
This commit is contained in:
commit
893599e806
|
@ -85,6 +85,13 @@ conditions:
|
|||
- {get_param: PublicSSLCertificateAutogenerated}
|
||||
- true
|
||||
|
||||
ca_file_enabled:
|
||||
and:
|
||||
- not:
|
||||
equals:
|
||||
- {get_param: InternalTLSCAFile}
|
||||
- ""
|
||||
- tls_enabled
|
||||
|
||||
resources:
|
||||
|
||||
|
@ -115,7 +122,7 @@ resources:
|
|||
enable_validations: [get_params: EnableValidations]
|
||||
internal_tls_ca_file:
|
||||
if:
|
||||
- tls_enabled
|
||||
- ca_file_enabled
|
||||
- {get_param: InternalTLSCAFile}
|
||||
- ''
|
||||
# if SSL is enabled we use the public virtual ip as the stackrc endpoint
|
||||
|
|
Loading…
Reference in New Issue