Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for parentRef (0.78 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    ) *ParentError {
    	if parentRef.Kind == gvk.Service || parentRef.Kind == gvk.ServiceEntry {
    		// TODO: check if the service reference is valid
    		if false {
    			return &ParentError{
    				Reason:  ParentErrorParentRefConflict,
    				Message: fmt.Sprintf("parent service: %q is invalid", parentRef.Name),
    			}
    		}
    	} else {
    		// First, check section and port apply. This must come first
    		if parentRef.Port != 0 && parentRef.Port != parent.Port {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    	parentRefName := "<none>"
    	if obj.Spec.ParentRef != nil {
    		gr := schema.GroupResource{
    			Group:    obj.Spec.ParentRef.Group,
    			Resource: obj.Spec.ParentRef.Resource,
    		}
    		parentRefName = strings.ToLower(gr.String())
    		if obj.Spec.ParentRef.Namespace != "" {
    			parentRefName += "/" + obj.Spec.ParentRef.Namespace
    		}
    		parentRefName += "/" + obj.Spec.ParentRef.Name
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    		},
    		Spec: networking.IPAddressSpec{
    			ParentRef: &networking.ParentReference{
    				Group:     "mygroup",
    				Resource:  "myresource",
    				Namespace: "mynamespace",
    				Name:      "myname",
    			},
    		},
    	}
    	// Columns: Name, ParentRef, Age
    	expected := []metav1.TableRow{{Cells: []interface{}{"192.168.2.2", "myresource.mygroup/mynamespace/myname", "10y"}}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/generated/openapi/zz_generated.openapi.go

    				Properties: map[string]spec.Schema{
    					"parentRef": {
    						SchemaProps: spec.SchemaProps{
    							Description: "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.",
    							Ref:         ref("k8s.io/api/networking/v1alpha1.ParentReference"),
    						},
    					},
    				},
    				Required: []string{"parentRef"},
    			},
    		},
    		Dependencies: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  8. api/openapi-spec/swagger.json

          "properties": {
            "parentRef": {
              "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference",
              "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
            }
          },
          "required": [
            "parentRef"
          ],
          "type": "object"
        },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M 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