by simply getting the private_key property, it now generates a new private key if it doesn't exist. Some charms access that property as a way of checking if its been generated or not (alertmanager), so it falsely generates a private key for the charm without even enabling tls on that charm.
Solution
added a new function to check for the existence of the key
Issue
by simply getting the
private_key
property, it now generates a new private key if it doesn't exist. Some charms access that property as a way of checking if its been generated or not (alertmanager), so it falsely generates a private key for the charm without even enabling tls on that charm.Solution
added a new function to check for the existence of the key