Add TLS Support

The Masakari API service need to be TLS-terminated. This patch applies the
ssl_ options in render_config function.

Change-Id: I0acdaaf4ab6eb150d0d562cd978601726456d035
Closes-Bug: #1889787
(cherry picked from commit 2a901dc9cb)
This commit is contained in:
Marton Kiss 2020-08-06 12:15:02 +02:00 committed by David Ames
parent b252676bbf
commit 2d3063977d
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def render_config(*args):
"""
with charm.provide_charm_instance() as charm_class:
charm_class.upgrade_if_available(args)
charm_class.configure_tls()
charm_class.render_with_interfaces(args)
charm_class.assess_status()
reactive.set_state('config.rendered')