Closed Abuelodelanada closed 6 months ago
In _generate_privkey we are getting the private key from relation not secrets:
_generate_privkey
private_key = relation.data[self.charm.unit].get("private-key", None)
We should use:
self.private_key
Issue found in: https://github.com/canonical/alertmanager-k8s-operator/actions/runs/7957275284/job/21736430013?pr=215
Enhancement Proposal
In
_generate_privkey
we are getting the private key from relation not secrets:We should use:
Issue found in: https://github.com/canonical/alertmanager-k8s-operator/actions/runs/7957275284/job/21736430013?pr=215