Upgraded all dependencies

This commit is contained in:
alejandro 2025-08-29 15:38:58 +01:00
parent 01919d0ef1
commit 02f364c29b
10 changed files with 1385 additions and 578 deletions

View file

@ -109,9 +109,10 @@ func waitForPrometheusReady(ctx context.Context, namespace string, name string)
var reconciled, available *monitoringv1.Condition
for _, condition := range prom.Status.Conditions {
cond := condition
if cond.Type == monitoringv1.Reconciled {
switch cond.Type {
case monitoringv1.Reconciled:
reconciled = &cond
} else if cond.Type == monitoringv1.Available {
case monitoringv1.Available:
available = &cond
}
}