Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LabelSelectorAsSelector (0.1 sec)

  1. istioctl/pkg/injector/injector-list.go

    	// find matching hook
    	for _, hook := range hooks {
    		for _, webhook := range hook.Webhooks {
    			nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    			if err != nil {
    				continue
    			}
    			if nsSelector.Matches(api_pkg_labels.Set(namespace.ObjectMeta.Labels)) {
    				return &hook
    			}
    		}
    	}
    	return nil
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top