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 7 forks source link

[MISSING] Make sure that the old secret is removed, in case of a label change #171

Open juditnovak opened 1 month ago

juditnovak commented 1 month ago

Make sure that the old secret is deleted after a label change.

NOTE: Double-check that there is no way a unit may need the old secret at the time of an upgrade, when it's being removed

(I.e. how is this code safe to bring back: https://github.com/canonical/data-platform-libs/pull/170/files#r1615506537, https://github.com/canonical/data-platform-libs/pull/170/files#r1615524473)

github-actions[bot] commented 1 month ago

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