Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for WorkloadSelector (0.32 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/config/analysis/analyzers/util/find_errorline_utils_test.go

    	"{.spec.http[0].match[0].test.regex}":                           1,
    	"{.spec.http[0].match[0].test.test.regex}":                      1,
    	"{.spec.http[0].corsPolicy.allowOrigins[0].regex}":              1,
    	"{.spec.workloadSelector.labels.test}":                          1,
    	"{.spec.ports[0].port}":                                         1,
    	"{.spec.containers[0].image}":                                   1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname-selector.yaml

    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: SIMPLE
              credentialName: db-credential
      workloadSelector:
          matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 342 bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	if mode == v1alpha3.ClientTLSSettings_SIMPLE || mode == v1alpha3.ClientTLSSettings_MUTUAL {
    		if dr.GetTrafficPolicy().GetTls().GetCaCertificates() == "" && !(dr.GetTrafficPolicy().GetTls().GetCredentialName() != "" && dr.WorkloadSelector != nil) {
    			m := msg.NewNoServerCertificateVerificationDestinationLevel(r, drName,
    				drNs.String(), mode.String(), dr.GetHost())
    
    			if line, ok := util.ErrorLine(r, fmt.Sprintf(util.DestinationRuleTLSCert)); ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/test/datasets/validation/dataset/networking-v1alpha3-EnvoyFilter.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: simple-envoy-filter
    spec:
      workloadSelector:
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 149 bytes
    - Viewed (0)
  10. pilot/pkg/model/envoyfilter.go

    	out := &EnvoyFilterWrapper{Name: local.Name, Namespace: local.Namespace, Priority: localEnvoyFilter.Priority, creationTime: local.CreationTimestamp}
    	if localEnvoyFilter.WorkloadSelector != nil {
    		out.workloadSelector = localEnvoyFilter.WorkloadSelector.Labels
    	}
    	out.Patches = make(map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper)
    	for _, cp := range localEnvoyFilter.ConfigPatches {
    		if cp.Patch == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top