canonical / data-platform-libs

A collection of charm libraries curated by the Data Platform Team
https://charmhub.io/data-platform-libs
Apache License 2.0
9 stars 9 forks source link

DataPeer(Unit) `generate_secret_label()` should be a public interface function #124

Open juditnovak opened 6 months ago

juditnovak commented 6 months ago

(Peer) Secret label has to be reproducible within charms. Typically in case secret-changed event may need to take action depending on which secret (that the charm is observing) was the one that changed. See MongoDB on_secret_changed().

NOTE: We may want to consider the same for DatabaseProvides, DatabaseRequires!

github-actions[bot] commented 6 months ago

https://warthogs.atlassian.net/browse/DPE-3313