Files
cozystack/cmd
Andrei Kvapil e6a7973185 feat(credentials-migrate): read passwords from per-account Secrets
Some charts keep each tenant password in a Secret of its own rather
than under the user name in <release>-credentials: MongoDB renders
<release>-user-<name> with a password key, which the operator reads.
The conversion has to seed account Secrets from there, and finish
has to remove those Secrets if Helm leaves one behind, while the
platform Secret of such a kind stays untouched.

Two flags describe the source, so that a kind keyed by something
other than the user name can reuse them: --source-key names the key
holding the password (the user name when empty), and
--source-per-account reads it from <release><source-suffix><user>
rather than from the single source Secret. A per-account Secret is
never keyed by user name, so the second requires the first.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-12-01 14:30:33 +01:00
..
2026-02-04 15:50:23 +03:00