Skip to content

resource

resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with “Service”.

object

PropertyTypeRequiredDefaultDescription
apiGroupstringNo-APIGroup is the group for the resource being referenced. …
kindstringYes-Kind is the type of resource being referenced
namestringYes-Name is the name of resource being referenced

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.