cozystack/internal/controller
ZverGuy ed9808fad6 perf(controller): resolve Prometheus URL once per reconcile, not per BucketClaim
Move resolvePrometheusURL call before the BucketClaim loop and pass
the URL as parameter. Avoids redundant namespace lookups and reduces
reconcile time from 2×N+1 to 2×N HTTP calls (where N = BucketClaims).

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: ZverGuy <maximbel2003@gmail.com>
2026-04-17 10:58:47 +03:00
..
dashboard feat(application): add WorkloadsReady condition and Events tab (#2356) 2026-04-16 10:18:55 +02:00
fluxplunger feat(platform): add flux-plunger controller 2026-01-19 13:20:08 +01:00
kubeovnplunger [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
applicationdefinition_controller.go [platform] Make cozystack-api reconciliation always use Deployment 2026-02-14 01:59:40 +01:00
applicationdefinition_helmreconciler.go refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
suite_test.go Move project from aenix-io to cozystack repository 2025-03-10 21:16:58 +01:00
workload_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00
workload_controller_test.go fix(controller): update workload test to use current label name 2026-02-18 00:49:57 +03:00
workloadmonitor_controller.go perf(controller): resolve Prometheus URL once per reconcile, not per BucketClaim 2026-04-17 10:58:47 +03:00
workloadmonitor_controller_test.go fix(controller): distinguish empty buckets from monitoring unavailable 2026-04-17 10:58:47 +03:00