Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for TLSMode (0.1 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	// * Use security.istio.io/tlsMode if its present
    	// * If not, set TLS mode if ServiceAccount is specified
    	tlsMode := model.DisabledTLSModeLabel
    	if val, exists := wle.Labels[label.SecurityTlsMode.Name]; exists {
    		tlsMode = val
    	} else if wle.ServiceAccount != "" {
    		tlsMode = model.IstioMutualTLSModeLabel
    	}
    
    	return tlsMode
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    	}
    
    	return &model.IstioEndpoint{
    		Labels:                b.labels,
    		ServiceAccount:        b.serviceAccount,
    		Locality:              b.locality,
    		TLSMode:               b.tlsMode,
    		Address:               endpointAddress,
    		EndpointPort:          uint32(endpointPort),
    		ServicePortName:       svcPortName,
    		Network:               networkID,
    		WorkloadName:          b.workloadName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/testdata/benchmarks/tcp.yaml

    spec:
      hosts:
      - example.com
      ports:
      - number: 7070
        name: tcp
        protocol: TCP
      resolution: STATIC
      location: MESH_INTERNAL
      endpoints:
      - address: 1.1.1.1
        labels:
          security.istio.io/tlsMode: istio
    ---
    # Set up .Services number of services.
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-{{$i}}
    spec:
      addresses:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 29 02:10:48 UTC 2023
    - 908 bytes
    - Viewed (0)
  4. pilot/pkg/xds/testdata/benchmarks/empty.yaml

        name: https
        protocol: HTTPS
      - number: 9090
        name: auto
        protocol: ""
      resolution: STATIC
      location: MESH_INTERNAL
      endpoints:
      - address: 1.1.1.1
        labels:
          security.istio.io/tlsMode: istio
    ---
    # Set up .Services number of services. Each will have 4 ports (one for each protocol)
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 03:45:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/mtls_checker.go

    // on the DR, original endpoint TLSMode (based on injection of sidecar), and PeerAuthentication settings.
    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.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. pilot/pkg/xds/testdata/benchmarks/auto.yaml

    spec:
      hosts:
      - example.com
      ports:
      - number: 7070
        name: auto
        protocol: ""
      resolution: STATIC
      location: MESH_INTERNAL
      endpoints:
      - address: 1.1.1.1
        labels:
          security.istio.io/tlsMode: istio
    ---
    # Set up .Services number of services.
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-{{$i}}
    spec:
      addresses:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 29 02:10:48 UTC 2023
    - 908 bytes
    - Viewed (0)
  7. pilot/pkg/xds/testdata/benchmarks/tls.yaml

    spec:
      hosts:
      - example.com
      ports:
      - number: 7070
        name: tls
        protocol: TLS
      resolution: STATIC
      location: MESH_INTERNAL
      endpoints:
      - address: 1.1.1.1
        labels:
          security.istio.io/tlsMode: istio
    ---
    # Set up .Services number of services.
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-{{$i}}
    spec:
      addresses:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 29 02:10:48 UTC 2023
    - 908 bytes
    - Viewed (0)
  8. pilot/pkg/xds/testdata/benchmarks/http.yaml

    spec:
      hosts:
      - example.com
      ports:
      - number: 80
        name: http
        protocol: HTTP
      resolution: STATIC
      location: MESH_INTERNAL
      endpoints:
      - address: 1.1.1.1
        labels:
          security.istio.io/tlsMode: istio
    ---
    # Set up .Services number of services.
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-{{$i}}
    spec:
      addresses:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 29 02:10:48 UTC 2023
    - 907 bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/util_test.go

    		},
    	}
    
    	cases := []struct {
    		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)
  10. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	svc := services[0] // default
    	for _, s := range services {
    		if string(s.Hostname) == address {
    			svc = s
    			break
    		}
    	}
    	tlsMode := model.DisabledTLSModeLabel
    	if mtlsMode == MTLS || mtlsMode == MTLSUnlabelled {
    		tlsMode = model.IstioMutualTLSModeLabel
    	}
    	if mtlsMode == MTLS {
    		if svcLabels == nil {
    			svcLabels = map[string]string{}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top