Closed MiaAltieri closed 2 months ago
File "/var/lib/juju/agents/unit-shard-one-5/charm/lib/charms/mongodb/v1/shards_interface.py", line 714, in _on_relation_changed
if tls_enabled and self.charm.tls.waiting_for_certs():
AttributeError: 'MongoDBTLS' object has no attribute 'waiting_for_certs'
There's a small miss there it seems :)
Issue
K8s mongos charm needs to be able to compare the current sans with the expected sans in order to update TLS certs when the k8s ip changes
Solution
Update lib to support the needed functionality