Bump go and go dependencies and modify deprecated Requeue to RequeueAfter (#4678)

This commit is contained in:
Nikola Jokic
2026-09-23 15:36:46 +02:00
committed by GitHub
parent 2adef8f8c4
commit 544ee37bad
36 changed files with 9838 additions and 1017 deletions
@@ -198,15 +198,14 @@ func (r *EphemeralRunnerSetReconciler) Reconcile(ctx context.Context, req ctrl.R
return ctrl.Result{}, nil
}
// Create or update proxy secret if needed
if _, updated, err := r.reconcileEphemeralRunnerSetProxySecret(ctx, &ephemeralRunnerSet, log); err != nil {
// Create or update proxy secret if needed. Secrets are not watched and
// runners only reference the proxy secret by name, so carry on in the same
// reconcile after writing it instead of delaying the scaling below.
if _, _, err := r.reconcileEphemeralRunnerSetProxySecret(ctx, &ephemeralRunnerSet, log); err != nil {
log.Error(err, "Unable to reconcile ephemeralRunnerSet proxy secret", "namespace", ephemeralRunnerSet.Namespace, "name", proxyEphemeralRunnerSetSecretName(&ephemeralRunnerSet))
return ctrl.Result{}, err
} else if updated {
return ctrl.Result{RequeueAfter: 1 * time.Second}, nil
}
// Find all EphemeralRunner with matching namespace and own by this EphemeralRunnerSet.
var ephemeralRunnerList v1alpha1.EphemeralRunnerList
if err := r.List(
ctx,