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> |
||
|---|---|---|
| .. | ||
| dashboard | ||
| fluxplunger | ||
| kubeovnplunger | ||
| applicationdefinition_controller.go | ||
| applicationdefinition_helmreconciler.go | ||
| suite_test.go | ||
| workload_controller.go | ||
| workload_controller_test.go | ||
| workloadmonitor_controller.go | ||
| workloadmonitor_controller_test.go | ||