Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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/sidecar-default-selector.yaml

      namespace: ns1
    spec:
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: has-selector
      namespace: ns1
    spec:
      workloadSelector: # Since this has a workload selector, it shouldn't conflict with the other Sidecar in the namespace
        labels:
          app: foo
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 23 13:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. releasenotes/notes/51568.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl  
    issue:
    - 51567
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 194 bytes
    - Viewed (0)
Back to top