diff --git a/pkg/policy/policy_controller.go b/pkg/policy/policy_controller.go index e5b88c1df6..8954d8939d 100644 --- a/pkg/policy/policy_controller.go +++ b/pkg/policy/policy_controller.go @@ -159,7 +159,7 @@ func (pc *policyController) canBackgroundProcess(p kyvernov1.PolicyInterface) bo val := os.Getenv("BACKGROUND_SCAN_INTERVAL") interval, err := time.ParseDuration(val) if err != nil { - logger.V(4).Info("failed to parse BACKGROUND_SCAN_INTERVAL env variable, falling to default 1h", "msg", err.Error()) + logger.V(4).Info("The BACKGROUND_SCAN_INTERVAL env variable is not set, therefore the default interval of 1h will be used.", "msg", err.Error()) interval = time.Hour } if p.GetCreationTimestamp().Add(interval).After(time.Now()) {