Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ClientTLSSettings_ISTIO_MUTUAL (0.79 sec)

  1. pilot/pkg/networking/core/cluster_tls.go

    			Name:       wellknown.TransportSocketTLS,
    			ConfigType: &core.TransportSocket_TypedConfig{TypedConfig: protoconv.MessageToAny(tlsContext)},
    		}
    	}
    	istioAutodetectedMtls := tls != nil && tls.Mode == networking.ClientTLSSettings_ISTIO_MUTUAL &&
    		mtlsCtxType == autoDetected
    	if cb.sendHbone {
    		cb.applyHBONETransportSocketMatches(c.cluster, tls, istioAutodetectedMtls)
    	} else if c.cluster.GetType() != cluster.Cluster_ORIGINAL_DST {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    					},
    					Spec: &networking.DestinationRule{
    						Host: "example.ns.svc.cluster.local",
    						TrafficPolicy: &networking.TrafficPolicy{
    							Tls: &networking.ClientTLSSettings{Mode: networking.ClientTLSSettings_ISTIO_MUTUAL},
    						},
    					},
    				},
    			},
    			IsMtlsDisabled: false,
    		},
    		"mtls-off-innefective": {
    			Config: config.Config{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.DestinationRule,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/mtls_checker.go

    func (c *mtlsChecker) checkMtlsEnabled(ep *model.IstioEndpoint, isWaypoint bool) bool {
    	if drMode := c.destinationRule; drMode != nil {
    		return *drMode == networkingapi.ClientTLSSettings_ISTIO_MUTUAL
    	}
    
    	// if endpoint has no sidecar or explicitly tls disabled by "security.istio.io/tlsMode" label.
    	if ep.TLSMode != model.IstioMutualTLSModeLabel {
    		return false
    	}
    
    	return authn.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestApplyUpstreamTLSSettings(t *testing.T) {
    	istioMutualTLSSettings := &networking.ClientTLSSettings{
    		Mode:            networking.ClientTLSSettings_ISTIO_MUTUAL,
    		SubjectAltNames: []string{"custom.foo.com"},
    		Sni:             "custom.foo.com",
    	}
    	mutualTLSSettingsWithCerts := &networking.ClientTLSSettings{
    		Mode:              networking.ClientTLSSettings_MUTUAL,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/convert_test.go

    		},
    		{
    			desc: "tls-istio-mutual-no-certs",
    			tls: &networkingAPI.ClientTLSSettings{
    				Mode: networkingAPI.ClientTLSSettings_ISTIO_MUTUAL,
    			},
    			sni:          "i-should-be-sni",
    			meta:         &model.BootstrapNodeMetadata{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/util/util_test.go

    		name    string
    		tlsMode networking.ClientTLSSettings_TLSmode
    		meta    *core.Metadata
    		want    *core.Metadata
    	}{
    		{
    			name:    "ISTIO_MUTUAL TLS",
    			tlsMode: networking.ClientTLSSettings_ISTIO_MUTUAL,
    			meta:    nil,
    			want:    nil,
    		},
    		{
    			name:    "DISABLED TLS",
    			tlsMode: networking.ClientTLSSettings_DISABLE,
    			meta:    nil,
    			want:    nil,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. pkg/bootstrap/option/instances_test.go

    			expected: nil,
    		},
    		{
    			testName: "envoy metrics tls",
    			key:      "envoy_metrics_service_tls",
    			option: option.EnvoyMetricsServiceTLS(&networkingAPI.ClientTLSSettings{
    				Mode: networkingAPI.ClientTLSSettings_ISTIO_MUTUAL,
    			}, &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)
  8. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    	"istio.io/istio/pilot/pkg/networking/util"
    )
    
    func TestApplyUpstreamProxyProtocol(t *testing.T) {
    	istioMutualTLSSettings := &networking.ClientTLSSettings{
    		Mode:            networking.ClientTLSSettings_ISTIO_MUTUAL,
    		SubjectAltNames: []string{"custom.foo.com"},
    		Sni:             "custom.foo.com",
    	}
    	mutualTLSSettingsWithCerts := &networking.ClientTLSSettings{
    		Mode:              networking.ClientTLSSettings_MUTUAL,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe_test.go

    							OutlierDetection: &v1alpha32.OutlierDetection{MinHealthPercent: 10},
    							Tls:              &v1alpha32.ClientTLSSettings{Mode: v1alpha32.ClientTLSSettings_ISTIO_MUTUAL},
    							PortLevelSettings: []*v1alpha32.TrafficPolicy_PortTrafficPolicy{
    								{
    									LoadBalancer: &v1alpha32.LoadBalancerSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    		return err
    	}
    	checkVerify := func(tls *networking.ClientTLSSettings) bool {
    		if tls == nil {
    			return false
    		}
    		if tls.Mode == networking.ClientTLSSettings_DISABLE || tls.Mode == networking.ClientTLSSettings_ISTIO_MUTUAL {
    			return false
    		}
    		return tls.CaCertificates == "" && tls.CredentialName == "" && !tls.InsecureSkipVerify.GetValue()
    	}
    	checkSNI := func(tls *networking.ClientTLSSettings) bool {
    		if tls == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top