cozystack/pkg
Aleksei Sviridkin 7b146cbe56
feat(api): make HelmRelease Install/Upgrade timeout per-Application
Replace the hardcoded r.kindName == "Kubernetes" switch in rest.go
with a config-driven path. The ApplicationDefinition CR now accepts a
release.cozystack.io/helm-install-timeout annotation that is parsed
at cozystack-api startup into config.ReleaseConfig.HelmInstallTimeout
and applied to both Install.Timeout and Upgrade.Timeout on the
rendered HelmRelease. Applications that leave the annotation unset
keep flux defaults so their failed installs remediate on the normal
cadence - only the Kubernetes kind carries the override and gets a
15m budget. New kinds with a similar race can opt in by setting the
same annotation; no rest.go patch needed.

Kubernetes-rd sets the annotation to 15m. Table-driven test in
rest_timeout_test.go covers three cases: Kubernetes with 15m, Qdrant
unset, and an arbitrary future kind with 20m - all of which pin the
Remediation.Retries == -1 contract as well.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-16 21:09:35 +03:00
..
apis test(api): address review round 4 findings 2026-04-12 14:17:12 +03:00
apiserver feat(application): add WorkloadsReady condition and Events tab 2026-04-15 17:20:45 +03:00
cmd/server feat(api): make HelmRelease Install/Upgrade timeout per-Application 2026-04-16 21:09:35 +03:00
config feat(api): make HelmRelease Install/Upgrade timeout per-Application 2026-04-16 21:09:35 +03:00
generated fix(codegen): add gen_client to update-codegen.sh and regenerate applyconfiguration 2026-02-16 23:01:38 +03:00
lineage feat(api): add chartRef to CozystackResourceDefinition 2026-01-14 16:09:43 +01:00
ovnstatus [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
registry feat(api): make HelmRelease Install/Upgrade timeout per-Application 2026-04-16 21:09:35 +03:00
version refactor(telemetry): split telemetry between operator and controller 2026-01-19 13:52:15 +01:00