Files
cozystack/pkg/registry/apps
Andrei KvapilandTimofei Larkin d1c5bc6fe2 feat(api): mark created releases for seeding and keep account values
A release the Cozystack API creates has only new accounts, so it is
marked for the CredentialTemplate controller to seed. The mark sits
outside the apps.cozystack.io- prefix, so an update keeps it.

An update rebuilds the HelmRelease from the Application, which lists
only the platform values; it now carries over the account valuesFrom
entries of the live release, since dropping them would take every
account's stored value out of the chart until the controller put them
back.

Deleting an application whose release is suspended and carries accounts
is refused with a conflict. Flux skips the uninstall of a suspended
release, so the database would keep running with its last passwords
after the account Secrets went with the templates.

Co-authored-by: Timofei Larkin <lllamnyp@gmail.com>
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-24 23:06:02 +01:00
..