From 6614772b80e26b0c32e25cc4c0f129caabba53b1 Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 28 Oct 2021 13:22:42 -0700 Subject: [PATCH] Indicate that skipped = True when skipping pod probes --- score/probes/probes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/score/probes/probes.go b/score/probes/probes.go index a6831012..c7b50c02 100644 --- a/score/probes/probes.go +++ b/score/probes/probes.go @@ -99,6 +99,7 @@ func containerProbes(allServices []ks.Service) func(corev1.PodTemplateSpec, meta if !isTargetedByService { score.Grade = scorecard.GradeAllOK + score.Skipped = true score.AddComment("", "The pod is not targeted by a service, skipping probe checks.", "") return score }