canonical / canonical/data-platform-libs

[DESIGN] Should the lib handle backwards compatibility secret field name translations?

Open
#140 1 comment 0 reactions 1 assignee Claimed by @juditnovak View on GitHub
Dominant language
Python
Stars
13
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Classical example is old, databag field name `ca` or `priv_key`.

Since Juju Secrets has restrictions on secret fields (len<2, no `_`, etc.) we need to provide translations for backwards compatiblity and rolling upgrades. Currently two charms are impacted: Postgres and Zookeeper.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.