Files
cozystack/packages
Andrei Kvapil d5c6170892 feat(platform): migrate MariaDB accounts to minted credentials
Existing MariaDB releases must keep their clients logging in while the
chart switches the Users to account Secrets. The pre-upgrade hook
writes those Secrets from the passwords in <release>-credentials,
hashed, and marks a fully converted release for seeding; the finish
Job then removes the tenant keys from that Secret once the converted
chart is Ready, keeping root, the platform's own account.

The finish Job and its least-privilege identity get names of their
own, so this hook cannot delete the ServiceAccount of migration 64's
Job while that one still runs. root is not rotated here: the operator,
the server pods' environment and their probes all read it, and an
ALTER USER without a coordinated restart fails the probes.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-12-01 14:30:32 +01:00
..
2026-11-27 18:34:40 +05:00