- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasMatchingPodsRunning (0.24 sec)
-
pkg/config/analysis/analyzers/authz/authorizationpolicies.go
if ap.GetSelector() != nil { apSelector := klabels.SelectorFromSet(ap.GetSelector().MatchLabels) // If there is at least one pod matching the selector within the whole mesh if !hasMatchingPodsRunning(apSelector, podLabelsMap) { c.Report(gvk.AuthorizationPolicy, msg.NewNoMatchingWorkloadsFound(r, apSelector.String())) } } // If AuthzPolicy is mesh-wide and selectorless,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 20:57:29 UTC 2023 - 6K bytes - Viewed (0)