mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
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>