Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for WorkloadSelector (0.21 sec)

  1. pkg/config/analysis/analyzers/k8sgateway/workloadselector.go

    var policyGVKs = []config.GroupVersionKind{
    	gvk.AuthorizationPolicy,
    	gvk.RequestAuthentication,
    	gvk.Telemetry,
    	gvk.WasmPlugin,
    }
    
    type policy interface {
    	GetSelector() *typev1beta1.WorkloadSelector
    	GetTargetRef() *typev1beta1.PolicyTargetReference
    }
    
    func (w *SelectorAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    		Name:        "k8sgateway.SelectorAnalyzer",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. releasenotes/notes/bug-fix-serviceentry-workloadselector.yaml

    Rajat Sharma <******@****.***> 1681308406 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 12 14:06:46 UTC 2023
    - 243 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml

      namespace: default
    spec:
      workloadSelector:
        labels:
          app: productpage # Maps to an existing workload without conflicts in the same ns, no error
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: maps-to-nonexistent
      namespace: default
    spec:
      workloadSelector:
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/util_test.go

    			Hosts: []string{"*.google.com"},
    			Ports: []*networking.ServicePort{
    				{Number: 80, Name: "http-number", Protocol: "http"},
    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: map[string]string{"app": "foo"},
    			},
    		},
    	}
    	se2 := config.Config{
    		Meta: config.Meta{GroupVersionKind: gvk.ServiceEntry, Namespace: "default", Name: "se-2"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/envoy-filter-remove-operation.yaml

      name: test-remove-4
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: mysvc1
      configPatches:
      - applyTo: NETWORK_FILTER # http connection manager is a filter in Envoy
        match:
        patch:
    
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-remove-5
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: mysvc1
      configPatches:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. pilot/pkg/model/authentication_test.go

    	selector := &selectorpb.WorkloadSelector{
    		MatchLabels: map[string]string{
    			"app":     "httpbin",
    			"version": "v1",
    		},
    	}
    	configs = append(configs, createTestRequestAuthenticationResource("default", rootNamespace, nil, nil),
    		createTestRequestAuthenticationResource("global-with-selector", rootNamespace, &selectorpb.WorkloadSelector{
    			MatchLabels: map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/sidecar/selector.go

    		// record namespace-scoped sidecars
    		if s.WorkloadSelector == nil || len(s.WorkloadSelector.Labels) == 0 {
    			namespacesToSidecars[rs.Metadata.FullName.Namespace] = append(namespacesToSidecars[rs.Metadata.FullName.Namespace], rs)
    			return true
    		}
    
    		sNs := rs.Metadata.FullName.Namespace
    		sel := labels.SelectorFromSet(s.WorkloadSelector.Labels)
    
    		foundPod := false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pilot/pkg/model/policyattachment_test.go

    		Kind:  gvk.Service.Kind,
    		Name:  "sample-svc",
    	}
    	sampleSelector := &v1beta1.WorkloadSelector{
    		MatchLabels: labels.Instance{
    			"app": "my-app",
    		},
    	}
    	sampleGatewaySelector := &v1beta1.WorkloadSelector{
    		MatchLabels: labels.Instance{
    			constants.GatewayNameLabel: "sample-gateway",
    		},
    	}
    	sampleWaypointSelector := &v1beta1.WorkloadSelector{
    		MatchLabels: labels.Instance{
    			constants.GatewayNameLabel: "sample-waypoint",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. tests/integration/security/egress_sidecar_tls_origination_test.go

    	workloadSelector string, credentialName string, clientNamespace namespace.Instance,
    ) {
    	args := map[string]any{
    		"to":               to,
    		"Mode":             destinationRuleMode,
    		"CredentialName":   credentialName,
    		"WorkloadSelector": workloadSelector,
    	}
    	se := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. samples/bookinfo/policy/productpage_envoy_ratelimit.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-ratelimit
      namespace: istio-system
    spec:
      workloadSelector:
        # select by label in the same namespace
        labels:
          istio: ingressgateway
      configPatches:
        # The Envoy config you want to modify
        - applyTo: HTTP_FILTER
          match:
            context: GATEWAY
            listener:
              filterChain:
                filter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 10 15:30:28 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top