Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for matchLabels (0.15 sec)

  1. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: STRICT
    ---`
    	paDisable := `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: DISABLE
    ---`
    	paPermissive := `
    apiVersion: security.istio.io/v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/accesslog_test.go

    		Meta: config.Meta{
    			Name:             "test",
    			Namespace:        "default",
    			GroupVersionKind: gvk.Telemetry,
    		},
    		Spec: &tpb.Telemetry{
    			Selector: &v1beta1.WorkloadSelector{
    				MatchLabels: map[string]string{
    					"app": "test",
    				},
    			},
    			AccessLogging: []*tpb.AccessLogging{
    				{
    					Providers: []*tpb.ProviderRef{
    						{
    							Name: "envoy-json",
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		if pol.Namespace != ns {
    			return false
    		}
    		sel := pol.Spec.Selector
    		if sel == nil {
    			return true // No selector matches everything
    		}
    		return labels.Instance(sel.MatchLabels).SubsetOf(matchLabels)
    	}))
    }
    
    func constructServicesFromWorkloadEntry(p *networkingv1alpha3.WorkloadEntry, services []model.ServiceInfo) map[string]*workloadapi.PortList {
    	res := map[string]*workloadapi.PortList{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top