Files
cozystack/cmd/credentials-migrate
Andrei Kvapil 5f9d6b9a87 feat(credentials-migrate): convert a kind with fixed accounts
Redis and Valkey have no accounts map: one default user exists while
authEnabled is on, and its password sits under the single key password
of <release>-auth. The conversion read accounts only from the keys of a
values map.

--fixed-account names the users such a chart always renders, and
--enabled-flag the boolean that switches them off; unset counts as
true, the chart default, and a non-boolean leaves the release out
rather than guess what the chart renders. The password key comes from
the existing --source-key, which already covers a source not keyed by
user name, rather than from a flag of its own.

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