From dc28bb74e4e2c4c9bf982ed72208363b28fad026 Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Sun, 29 Sep 2024 03:57:32 +0200 Subject: [PATCH] Fix bug which caused challenges missed by the webhooks to be missed Fix incorrect label selector which prevents background sync from picking up juice shop instances --- progress-watchdog/internal/background-sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress-watchdog/internal/background-sync.go b/progress-watchdog/internal/background-sync.go index 318bb79ed..51c341760 100644 --- a/progress-watchdog/internal/background-sync.go +++ b/progress-watchdog/internal/background-sync.go @@ -166,7 +166,7 @@ func createProgressUpdateJobs(progressUpdateJobs chan<- ProgressUpdateJobs, clie // Get Instances log.Info("Looking for Instances") opts := metav1.ListOptions{ - LabelSelector: "app=juice-shop", + LabelSelector: "app.kubernetes.io/name=juice-shop", } namespace := os.Getenv("NAMESPACE")