Specify certificates relation to update endpoints.
When the certificates relation is unspecified with the configure_tls method invocation, the masakari endpoints seem to ignore the update to TLS. This change specifies the relation which causes the endpoints to update correctly. Closes-Bug: #1935986 Change-Id: Ib1a6ca1ddf64950ff13cf3a8904d9848710d96a5
This commit is contained in:
parent
b327c6cfae
commit
3760b7211f
|
@ -38,7 +38,9 @@ def render_config(*args):
|
|||
"""
|
||||
with charm.provide_charm_instance() as charm_class:
|
||||
charm_class.upgrade_if_available(args)
|
||||
charm_class.configure_tls()
|
||||
charm_class.configure_tls(
|
||||
certificates_interface=reactive.endpoint_from_flag(
|
||||
'certificates.available'))
|
||||
charm_class.render_with_interfaces(args)
|
||||
charm_class.assess_status()
|
||||
reactive.set_state('config.rendered')
|
||||
|
|
Loading…
Reference in New Issue