Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ParentRefs (0.15 sec)

  1. pilot/pkg/config/kube/gateway/testdata/isolation.yaml

              from: All
    ---
    apiVersion: gateway.networking.k8s.io/v1
    kind: HTTPRoute
    metadata:
      name: attaches-to-empty-hostname-with-hostname-intersection
      namespace: gateway-conformance-infra
    spec:
      parentRefs:
        - name: isolation
          namespace: gateway-conformance-infra
          sectionName: empty-hostname
      hostnames:
        - "bar.com"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tests/integration/pilot/gateway_test.go

    kind: HTTPRoute
    metadata:
      name: http-1
    spec:
      parentRefs:
      - name: gateway
      hostnames: ["bar.example.com"]
      rules:
      - backendRefs:
        - name: b
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http-2
    spec:
      parentRefs:
      - name: gateway
      hostnames: ["foo.example.com"]
      rules:
      - backendRefs:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. tests/integration/ambient/testdata/gateway-api.yaml

      - name: http
        port: 80
        protocol: HTTP
        hostname: "*.{{ .To.ServiceName }}.com"
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: {{ .To.ServiceName }}
    spec:
      parentRefs:
      - name: {{ .To.ServiceName }}-gateway
      hostnames:
      - "*.{{ .To.ServiceName }}.com"
      rules:
      - backendRefs:
        - name: "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 574 bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion.go

    				pr.AttachedRoutes++
    			}
    			parentRefs = append(parentRefs, rpi)
    		}
    		for _, gw := range gateways[gk] {
    			// Append all matches. Note we may be adding mismatch section or ports; this is handled later
    			appendParent(gw, pk)
    		}
    	}
    	// Ensure stable order
    	slices.SortBy(parentRefs, func(a routeParentReference) string {
    		return parentRefString(a.OriginalReference)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conditions_test.go

    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    func TestCreateRouteStatus(t *testing.T) {
    	lastTransitionTime := metav1.Now()
    	parentRef := httpRouteSpec.ParentRefs[0]
    	parentStatus := []k8s.RouteParentStatus{
    		{
    			ParentRef:      parentRef,
    			ControllerName: k8s.GatewayController("another-gateway-controller"),
    			Conditions: []metav1.Condition{
    				{Type: "foo", Status: "bar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/testdata/gateway-api-crd.yaml

    
                      * If one ParentRef sets `sectionName`, all ParentRefs referencing the
                        same object must also set `sectionName`.
                      * If one ParentRef sets `port`, all ParentRefs referencing the same
                        object must also set `port`.
                      * If one ParentRef sets `sectionName` and `port`, all ParentRefs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 02:01:51 UTC 2024
    - 912.2K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller_test.go

    			},
    		},
    	}
    	httpRouteSpec = &k8s.HTTPRouteSpec{
    		CommonRouteSpec: k8s.CommonRouteSpec{ParentRefs: []k8s.ParentReference{{
    			Name: "gwspec",
    		}}},
    		Hostnames: []k8s.Hostname{"test.cluster.local"},
    	}
    
    	expectedgw = &networking.Gateway{
    		Servers: []*networking.Server{
    			{
    				Port: &networking.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. tests/integration/ambient/waypoint_test.go

      - name: fake-hbone-port
        port: 15008
        protocol: TCP
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: {{.Service}}-httproute
    spec:
      parentRefs:
      - name: simple-http-waypoint
      hostnames:
      - {{.Service}}.{{.Namespace}}.svc.cluster.local
      - {{.Service}}.{{.Namespace}}.svc
      - {{.Service}}.{{.Namespace}}
      - {{.Service}}
      rules:
      - matches:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

    kind: HTTPRoute
    metadata:
      name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}"
      namespace: {{.Namespace}}
      creationTimestamp: "{{.Time}}"
    spec:
      parentRefs:
    {{- range $val := .GwMatches }}
      - group: ""
        kind: Service
        name: "{{$val.Name}}"
        namespace: "{{$val.Namespace}}"
    {{ with $.PortMatch }}
        port: {{.}}
    {{ end }}
    {{ end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top