Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
evyatarmeged committed Jun 23, 2024
1 parent 953130a commit 3ff5d5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (e *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
}

if hasRestartAnnotation(pod) {
logrus.Info("Triggering pod restart for newly created secret")
logrus.Debug("Triggering pod restart for newly created secret")
err := e.TriggerPodRestart(ctx, &pod)
if err != nil {
e.recorder.Eventf(&pod, v1.EventTypeWarning,
Expand Down Expand Up @@ -202,7 +202,7 @@ func (e *Reconciler) ensurePodUserAndPasswordSecret(ctx context.Context, pod *v1

// If secret exists but is being deleted we need to requeue until it is deleted
if !secret.DeletionTimestamp.IsZero() {
logrus.Info("Secret is being deleted, retriggering reconcile")
logrus.Debug("Secret is being deleted, retriggering reconcile")
return ctrl.Result{Requeue: true}, false, nil
}

Expand Down

0 comments on commit 3ff5d5e

Please sign in to comment.