Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for UpstreamTlsContext (0.27 sec)

  1. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    				Value: buildPatchStruct(`
    				{"transport_socket":{
    					"name":"envoy.transport_sockets.tls",
    					"typed_config":{
    						"@type":"type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
    						"common_tls_context":{
    							"tls_params":{
    								"tls_minimum_protocol_version":"TLSv1_3"}}}}}`),
    			},
    		},
    		// Patch custom TLS type
    		{
    			ApplyTo: networking.EnvoyFilter_CLUSTER,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_tls_test.go

    		tls                        *networking.ClientTLSSettings
    		h2                         bool
    		expectTransportSocket      bool
    		expectTransportSocketMatch bool
    
    		validateTLSContext func(t *testing.T, ctx *tls.UpstreamTlsContext)
    	}{
    		{
    			name:                       "user specified without tls",
    			mtlsCtx:                    userSupplied,
    			discoveryType:              cluster.Cluster_EDS,
    			tls:                        nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    		proxyProtocolSettings      *networking.TrafficPolicy_ProxyProtocol
    		expectTransportSocket      bool
    		expectTransportSocketMatch bool
    
    		validateTLSContext func(t *testing.T, ctx *tls.UpstreamTlsContext)
    	}{
    		{
    			name:          "user specified without tls",
    			mtlsCtx:       userSupplied,
    			discoveryType: cluster.Cluster_EDS,
    			tls:           nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls.go

    			return nil, nil
    		}
    	}
    
    	c := opts.mutable
    	var tlsContext *tlsv3.UpstreamTlsContext
    
    	switch tls.Mode {
    	case networking.ClientTLSSettings_DISABLE:
    		tlsContext = nil
    	case networking.ClientTLSSettings_ISTIO_MUTUAL:
    		tlsContext = &tlsv3.UpstreamTlsContext{
    			CommonTlsContext: defaultUpstreamCommonTLSContext(),
    			Sni:              tls.Sni,
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/convert.go

    // TODO(ramaraochavali): Unify this code with cluster upstream TLS settings logic.
    func tlsContextConvert(tls *networkingAPI.ClientTLSSettings, sniName string, metadata *model.BootstrapNodeMetadata) *auth.UpstreamTlsContext {
    	tlsContext := &auth.UpstreamTlsContext{
    		CommonTlsContext: &auth.CommonTlsContext{},
    	}
    
    	switch tls.Mode {
    	case networkingAPI.ClientTLSSettings_SIMPLE:
    		res := security.SdsCertificateConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. pilot/test/xdstest/extract.go

    	}
    	for _, ts := range c.TransportSocketMatches {
    		sockets = append(sockets, ts.TransportSocket)
    	}
    	for _, s := range sockets {
    		if s.GetTypedConfig().TypeUrl != TypeName[*tls.UpstreamTlsContext]() {
    			continue
    		}
    		tl := UnmarshalAny[tls.UpstreamTlsContext](t, s.GetTypedConfig())
    		resourceNames.Insert(tl.GetCommonTlsContext().GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/grpcgen/cds.go

    // management server (see grpc/xds/internal/client/xds.go securityConfigFromCluster).
    const transportSocketName = "envoy.transport_sockets.tls"
    
    func buildUpstreamTLSContext(sans []string) *tls.UpstreamTlsContext {
    	return &tls.UpstreamTlsContext{
    		CommonTlsContext: buildCommonTLSContext(sans),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/bootstrap/option/instances_test.go

    			}, &model.BootstrapNodeMetadata{}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    }
    
    // Helper function to extract TLS context from a cluster
    func getTLSContext(t *testing.T, c *cluster.Cluster) *tls.UpstreamTlsContext {
    	t.Helper()
    	if c.TransportSocket == nil {
    		return nil
    	}
    	tlsContext := &tls.UpstreamTlsContext{}
    	err := c.TransportSocket.GetTypedConfig().UnmarshalTo(tlsContext)
    	if err != nil {
    		t.Fatalf("Failed to unmarshall tls context: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/testdata/describe/http_config.json

                    "transport_socket": {
                      "name": "envoy.transport_sockets.tls",
                      "typed_config": {
                        "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
                        "common_tls_context": {
                          "tls_params": {
                            "tls_minimum_protocol_version": "TLSv1_2",
                            "tls_maximum_protocol_version": "TLSv1_3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top