cozystack/pkg/registry/apps/application
Aleksei Sviridkin e4f279f8e2
fix(api): set 15m Install/Upgrade Timeout for parent HelmRelease
Parent HelmRelease created by cozystack-api for Kubernetes tenants
contains CAPI/Kamaji resources (Cluster, KamajiControlPlane,
MachineDeployment) that asynchronously provision the
*-admin-kubeconfig Secret. Three Deployments in the same chart
(cluster-autoscaler, kccm, kcsi-controller) mount that Secret
directly, so the helm-wait cannot complete until control-plane
bootstrap finishes.

Default flux helm-controller timeout is too short for a cold-node
first-tenant bootstrap (image pull + etcd bootstrap + apiserver Ready
+ admin-kubeconfig generation routinely exceed it). On timeout,
install.remediation triggers uninstall, which removes the Cluster CR
and restarts the cycle indefinitely.

Bumping Install.Timeout and Upgrade.Timeout to 15m gives realistic
bootstrap headroom while remaining bounded.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-16 20:21:15 +03:00
..
rest.go fix(api): set 15m Install/Upgrade Timeout for parent HelmRelease 2026-04-16 20:21:15 +03:00
rest_conditions_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_defaulting.go [registry] Fix linter errors 2025-12-26 12:52:49 +03:00
rest_defaulting_test.go [cozystack-api] Implement Kubernetes-like defaulting 2025-09-18 02:32:16 +02:00
rest_sorting_test.go [registry] Add alphabetical sorting to resource lists 2025-12-26 12:48:25 +03:00
rest_timeout_test.go test(api): assert parent HelmRelease Install/Upgrade Timeout >= 15m 2026-04-16 20:20:41 +03:00
rest_validation_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_watch_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_workloads_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00