OBJECT

KubernetesKindHTTPRouteSpecParentRefs

ParentReference identifies an API object (usually a Gateway) that can be considered a parent of this resource (usually a route). There are two kinds of parent resources with "Core" support:

  • Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) This API may be extended in the future to support additional kinds of parent resources. The API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid.

link GraphQL Schema definition

  • type KubernetesKindHTTPRouteSpecParentRefs {
  • # Group is the group of the referent. When unspecified,
  • # "gateway.networking.k8s.io" is inferred. To set the core API group (such as for
  • # a "Service" kind referent), Group must be explicitly set to "" (empty string).
  • #
  • # Support: Core
  • group: String
  • # Kind is kind of the referent.
  • #
  • # There are two kinds of parent resources with "Core" support:
  • #
  • # * Gateway (Gateway conformance profile) * Service (Mesh conformance profile,
  • # experimental, ClusterIP Services only)
  • #
  • # Support for other resources is Implementation-Specific.
  • kind: String
  • # Name is the name of the referent.
  • #
  • # Support: Core
  • name: String
  • # Namespace is the namespace of the referent. When unspecified, this refers to the
  • # local namespace of the Route.
  • #
  • # Note that there are specific rules for ParentRefs which cross namespace
  • # boundaries. Cross-namespace references are only valid if they are explicitly
  • # allowed by something in the namespace they are referring to. For example:
  • # Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way
  • # to enable any other kind of cross-namespace reference.
  • #
  • # ParentRefs from a Route to a Service in the same namespace are "producer"
  • # routes, which apply default routing rules to inbound connections from any
  • # namespace to the Service.
  • #
  • # ParentRefs from a Route to a Service in a different namespace are "consumer"
  • # routes, and these routing rules are only applied to outbound connections
  • # originating from the same namespace as the Route, for which the intended
  • # destination of the connections are a Service targeted as a ParentRef of the
  • # Route.
  • #
  • # Support: Core
  • namespace: String
  • # SectionName is the name of a section within the target resource. In the
  • # following resources, SectionName is interpreted as the following:
  • #
  • # * Gateway: Listener Name. When both Port (experimental) and SectionName are
  • # specified, the name and port of the selected listener must match both specified
  • # values. * Service: Port Name. When both Port (experimental) and SectionName are
  • # specified, the name and port of the selected listener must match both specified
  • # values. Note that attaching Routes to Services as Parents is part of
  • # experimental Mesh support and is not supported for any other purpose.
  • #
  • # Implementations MAY choose to support attaching Routes to other resources. If
  • # that is the case, they MUST clearly document how SectionName is interpreted.
  • #
  • # When unspecified (empty string), this will reference the entire resource. For
  • # the purpose of status, an attachment is considered successful if at least one
  • # section in the parent resource accepts it. For example, Gateway listeners can
  • # restrict which Routes can attach to them by Route kind, namespace, or hostname.
  • # If 1 of 2 Gateway listeners accept attachment from the referencing Route, the
  • # Route MUST be considered successfully attached. If no Gateway listeners accept
  • # attachment from this Route, the Route MUST be considered detached from the
  • # Gateway.
  • #
  • # Support: Core
  • sectionName: String
  • }