Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for WorkloadSelector (0.4 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. 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)
  7. 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)
  8. tests/integration/telemetry/policy/testdata/enable_envoy_ratelimit.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-ratelimit
      namespace: istio-system
    spec:
      workloadSelector:
        labels:
          app: clt
      configPatches:
        # The Envoy config you want to modify
        - applyTo: HTTP_FILTER
          match:
            context: SIDECAR_OUTBOUND
            listener:
              filterChain:
                filter:
                  name: "envoy.filters.network.http_connection_manager"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 16:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/envoy-filter-replace-operation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-replace-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews1
      priority: 10
      configPatches:
      - applyTo: CLUSTER
        match:
          context: SIDECAR_OUTBOUND
        patch:
          operation: REPLACE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/relative-envoy-filter-operation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-relative-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews1
      configPatches:
        # The first patch adds the Lua filter to the listener/http connection manager
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top