Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  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. 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)
  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/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)
  7. 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)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		//  alpha.istio.io/kubernetes-serviceaccounts.
    		SubjectAltNames: svc.ServiceAccounts,
    	}
    
    	if len(svc.Attributes.LabelSelectors) > 0 {
    		se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors}
    	}
    
    	// Based on networking.istio.io/exportTo annotation
    	for k := range svc.Attributes.ExportTo {
    		// k is Private or Public
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. 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)
  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