Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,025 for host2 (0.56 sec)

  1. pilot/pkg/config/kube/gateway/testdata/serviceentry.yaml.golden

      creationTimestamp: null
      name: egress-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - mesh
      hosts:
      - google.com
      http:
      - name: default.egress.0
        route:
        - destination:
            host: google.com
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 18:39:48 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_simulation_test.go

    		},
    	)
    }
    
    func TestGatewayConflicts(t *testing.T) {
    	tcpServer := `port:
      number: 80
      name: tcp
      protocol: TCP
    hosts:
    - "foo.bar"`
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	tlsServer := `hosts:
      - ./*
    port:
      name: https-ingress
      number: 443
      protocol: HTTPS
    tls:
      credentialName: sds-credential
      mode: SIMPLE`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    	if cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    		return false
    	}
    	return true
    }
    
    func hostContains(hosts []host.Name, service host.Name) bool {
    	for _, h := range hosts {
    		if h == service {
    			return true
    		}
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/isolation.yaml.golden

    spec:
      gateways:
      - gateway-conformance-infra/isolation-istio-autogenerated-k8s-gateway-abc-foo-example-com
      hosts:
      - bar.com
      http:
      - match:
        - uri:
            prefix: /abc-foo-example-com
        name: gateway-conformance-infra.attaches-to-abc-foo-example-com-with-hostname-intersection.0
        route:
        - destination:
            host: infra-backend-v1.gateway-conformance-infra.svc.domain.suffix
            port:
              number: 8080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. pkg/config/host/names_test.go

    		},
    		{
    			host.Names{"foo.com"},
    			host.Names{},
    			host.Names{},
    		},
    		{
    			host.Names{},
    			host.Names{"bar.com"},
    			host.Names{},
    		},
    		{
    			host.Names{"*", "foo.com"},
    			host.Names{"foo.com"},
    			host.Names{"foo.com"},
    		},
    		{
    			host.Names{"*"},
    			host.Names{"foo.com"},
    			host.Names{"foo.com"},
    		},
    		{
    			host.Names{"foo.com"},
    			host.Names{"Foo.com"},
    			host.Names{},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. pkg/config/validation/validation_test.go

    			}},
    		}, valid: false},
    		{name: "delegate with no hosts", in: &networking.VirtualService{
    			Hosts: nil,
    			Http: []*networking.HTTPRoute{{
    				Route: []*networking.HTTPRouteDestination{{
    					Destination: &networking.Destination{Host: "foo.baz"},
    				}},
    			}},
    		}, valid: true},
    		{name: "bad host", in: &networking.VirtualService{
    			Hosts: []string{"foo.ba!r"},
    			Http: []*networking.HTTPRoute{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/gateway_test.go

    						Gateways: []string{"testns/gateway2"},
    						Hosts:    []string{"*"},
    						Tcp: []*networking.TCPRoute{{
    							Route: []*networking.RouteDestination{{Destination: &networking.Destination{Host: "example.com"}}},
    						}},
    					},
    				},
    			},
    			[]string{"0.0.0.0_443"},
    		},
    		{
    			"gateway with multiple HTTPS servers with bind and same host",
    			&pilot_model.Proxy{},
    			[]config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway.go

    			virtualServiceHosts := host.NewNames(virtualService.Spec.(*networking.VirtualService).Hosts)
    			serverHosts := host.NamesForNamespace(server.Hosts, virtualService.Namespace)
    
    			// We have two cases here:
    			// 1. virtualService hosts are 1.foo.com, 2.foo.com, 3.foo.com and server hosts are ns/*.foo.com
    			// 2. virtualService hosts are *.foo.com, and server hosts are ns/1.foo.com, ns/2.foo.com, ns/3.foo.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/tls.yaml.golden

      name: http-0-istio-autogenerated-k8s-gateway
      namespace: default
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-terminate
      hosts:
      - domain.example
      http:
      - name: default.http.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. pkg/config/validation/virtualservice_test.go

    			in: &networking.VirtualService{
    				Hosts: []string{},
    				Tcp: []*networking.TCPRoute{{
    					Route: []*networking.RouteDestination{{
    						Destination: &networking.Destination{Host: "foo.baz"},
    					}},
    				}},
    			},
    			valid: false,
    		},
    		{
    			name: "delegate with gateway",
    			in: &networking.VirtualService{
    				Hosts:    []string{},
    				Gateways: []string{"test"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top