Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WorkloadSelector (1.53 sec)

  1. pkg/config/validation/validation_test.go

    					{Number: 8080, Protocol: "http", Name: "http-valid2"},
    				},
    				WorkloadSelector: &networking.WorkloadSelector{},
    			},
    			valid:   true,
    			warning: true,
    		},
    		{
    			name: "selector and endpoints", in: &networking.ServiceEntry{
    				Hosts:            []string{"google.com"},
    				WorkloadSelector: &networking.WorkloadSelector{Labels: map[string]string{"foo": "bar"}},
    				Ports: []*networking.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    		rule, ok := cfg.Spec.(*networking.Sidecar)
    		if !ok {
    			return nil, fmt.Errorf("cannot cast to Sidecar")
    		}
    
    		warning, err := ValidateAlphaWorkloadSelector(rule.WorkloadSelector)
    		if err != nil {
    			return nil, err
    		}
    
    		// If workloadSelector is defined and labels are not set, it is most likely
    		// an user error. Marking it as a warning to keep it backwards compatible.
    		if warning != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

            typed_config:
              '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
              xff_num_trusted_hops: 1
              normalize_path: true
      workloadSelector:
        labels:
          istio: {{.GatewayIstioLabel | default "ingressgateway"}}
    ---
    ` + httpVirtualServiceTmpl,
    		opts: echo.CallOptions{
    			Count: 1,
    			Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder_test.go

    						SubjectAltNames:    []string{"foo.default.svc.cluster.local"},
    						InsecureSkipVerify: &wrappers.BoolValue{Value: true},
    					},
    				},
    				WorkloadSelector: &v1beta1.WorkloadSelector{},
    			},
    			enableAutoSni:            false,
    			enableVerifyCertAtClient: true,
    			expectTLSContext: &tls.UpstreamTlsContext{
    				CommonTlsContext: &tls.CommonTlsContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    Specifies a host to which the downstream connection is tunneled. type: string targetPort: description: Specifies a port to which the downstream connection is tunneled. type: integer required: - targetHost - targetPort type: object type: object workloadSelector: description: Criteria used to select the specific set of pods/VMs on which this `DestinationRule` configuration should be applied. properties: matchLabels: additionalProperties: type: string description: One or more labels that indicate a specific...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_test.go

    					},
    				},
    			},
    		},
    	}
    
    	// This workload-level beta policy doesn't affect CDS (yet).
    	peerAuthn := &authn_beta.PeerAuthentication{
    		Selector: &selectorpb.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"version": "v1",
    			},
    		},
    		Mtls: &authn_beta.PeerAuthentication_MutualTLS{
    			Mode: authn_beta.PeerAuthentication_MutualTLS_STRICT,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top