Files
cozystack/hack/testdata
Andrei Kvapil 79883fed36 feat(platform): convert MongoDB users to minted credentials
Migration 67 seeds the account Secret of every user of every MongoDB
release before the chart switches, from the per-user Secret the old
chart rendered, so clients keep logging in through the upgrade and
the controller adopts the Secrets once the templates exist. The
finish Job then strips users.*.password from the values and removes
any per-user Secret Helm left behind; <release>-credentials holds
only the databaseAdmin platform account and is left alone.

The Job's ServiceAccount, ClusterRole and binding carry the migration
number: one upgrade can run several conversion migrations in a row,
and a shared ServiceAccount deleted by a later hook would cut off an
earlier finish Job still running as it.

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