Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for WorkloadSelector (0.23 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    					WorkloadName:      "name0",
    					ClusterId:         testC,
    				},
    			},
    		},
    	}})
    
    	// test code path where service entry selects workloads via `ServiceEntry.workloadSelector`
    	s.addPods(t, "140.140.0.10", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod1"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/peer_authentication_simulation_test.go

          number: 8080
          protocol: TCP
      - defaultEndpoint: 127.0.0.1:9090
        port:
          name: plaintext
          number: 9090
          protocol: TCP
      egress:
      - hosts:
        - "*/*"
      workloadSelector:
        labels:
          app: foo
    ---`
    	partialSidecar := `
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      labels:
        app: foo
      name: sidecar
    spec:
      ingress:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. pilot/pkg/xds/proxy_dependencies_test.go

    				Meta: config.Meta{
    					GroupVersionKind: gvk.RequestAuthentication,
    					Name:             jwksSvc,
    					Namespace:        nsName,
    				},
    				Spec: &security.RequestAuthentication{
    					Selector: &v1beta1.WorkloadSelector{MatchLabels: gateway.Labels},
    					JwtRules: []*security.JWTRule{{JwksUri: "https://" + jwksSvc}},
    				},
    			},
    			{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.RequestAuthentication,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    					GroupVersionKind: gvk.PeerAuthentication,
    					Name:             "mtls-partial",
    					Namespace:        "istio-system",
    				},
    				Spec: &security.PeerAuthentication{
    					Selector: &v1beta1.WorkloadSelector{
    						// shouldn't affect our test workload
    						MatchLabels: map[string]string{"app": "b"},
    					},
    					Mtls: &security.PeerAuthentication_MutualTLS{Mode: security.PeerAuthentication_MutualTLS_DISABLE},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar.go

    		destinationRule := destRule.rule.Spec.(*networking.DestinationRule)
    		if destinationRule.GetWorkloadSelector() == nil {
    			catchAllDr = destRule
    		}
    		// filter DestinationRule based on workloadSelector for outbound configs.
    		// WorkloadSelector configuration is honored only for outbound configuration, because
    		// for inbound configuration, the settings at sidecar would be more explicit and the preferred way forward.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/analyzers_test.go

    		name: "destinationrule with credentialname, simple at destinationlevel, workloadSelector",
    		inputFiles: []string{
    			"testdata/destinationrule-simple-destination-credentialname-selector.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    		expected: []message{},
    	},
    	{
    		name: "destinationrule with credentialname, simple at portlevel, no workloadSelector",
    		inputFiles: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls.go

    	if tls == nil {
    		return nil, nil
    	}
    	// Hack to avoid egress sds cluster config generation for sidecar when
    	// CredentialName is set in DestinationRule without a workloadSelector.
    	// We do not want to support CredentialName setting in non workloadSelector based DestinationRules, because
    	// that would result in the CredentialName being supplied to all the sidecars which the DestinationRule is scoped to,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. tests/integration/helm/util.go

    global:
      hub: %s
      %s
      variant: %q
    profile: ambient
    `
    	sampleEnvoyFilter = `
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: sample
    spec:
      workloadSelector:
        labels:
          istio: ingressgateway
      configPatches:
      - applyTo: NETWORK_FILTER # http connection manager is a filter in Envoy
        match:
          context: GATEWAY
          listener:
            filterChain:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. pilot/pkg/model/authorization_test.go

    							Methods: []string{"GET"},
    						},
    					},
    				},
    			},
    		},
    	}
    	policyWithSelector := proto.Clone(policy).(*authpb.AuthorizationPolicy)
    	policyWithSelector.Selector = &selectorpb.WorkloadSelector{
    		MatchLabels: labels.Instance{
    			"app":     "httpbin",
    			"version": "v1",
    		},
    	}
    	policyWithTargetRef := proto.Clone(policy).(*authpb.AuthorizationPolicy)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pilot/pkg/features/pilot.go

    	EnableSelectorBasedK8sGatewayPolicy = env.Register("ENABLE_SELECTOR_BASED_K8S_GATEWAY_POLICY", true,
    		"If disabled, Gateway API gateways will ignore workloadSelector policies, only"+
    			"applying policies that select the gateway with a targetRef.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top