Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for podLabels (0.17 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    func analyzeWebhooksMatchStatus(whs []admitv1.MutatingWebhook, podLabels, nsLabels map[string]string) (reason string, injected bool) {
    	for _, wh := range whs {
    		nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
    		podMatched, podLabel := extractMatchedSelectorInfo(wh.ObjectSelector, podLabels)
    		if nsMatched && podMatched {
    			if nsLabel != "" && podLabel != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		hpa := mustFindObject(t, objs, cname, name.HPAStr)
    		podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels")
    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    		mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    }
    
    func matchesAnyPod(subsetSelector klabels.Selector, podsLabels []klabels.Set) bool {
    	for _, podLabels := range podsLabels {
    		if subsetSelector.Matches(podLabels) {
    			return true
    		}
    	}
    	return false
    }
    
    func printDestinationRule(writer io.Writer, initPrintNum int,
    	dr *clientnetworking.DestinationRule, podsLabels []klabels.Set,
    ) {
    	fmt.Fprintf(writer, "%sDestinationRule: %s for %q\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top