Files
cozystack/hack/testdata
Andrei Kvapil acb5310526 feat(platform): migrate RabbitMQ users to minted credentials
Migration 68 writes the account Secret of every existing RabbitMQ user
from the per-user Secret the old chart generated, before the chart
switches, so clients keep their passwords through the upgrade and the
CredentialTemplate controller adopts the Secrets afterwards. The finish
Job strips leftover users.<name>.password values, deletes a per-user
Secret Helm did not prune, and labels the operator's -default-user
Secret not tenant-visible once the converted definition excludes it,
which removing it from the definition alone does not do for a Secret the
lineage webhook already stamped.

The Job's ServiceAccount, ClusterRole and binding carry the migration
number: migration 64 deletes and re-owns a ServiceAccount with a shared
name, which would cut off a finish Job of another conversion running in
the same upgrade. The role adds list on Secrets for the per-user sources
and list on ApplicationDefinitions for the visibility check.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-12-02 20:38:09 +01:00
..