Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasMatchingPodsRunning (0.24 sec)

  1. 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)
Back to top