Skip to content

networking.v1.ingressClassSpec

"IngressClassSpec provides information about the class of an Ingress."

Index

Fields

fn withController

withController(controller)

"Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable."

obj parameters

"IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource."

fn parameters.withApiGroup

withApiGroup(apiGroup)

"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."

fn parameters.withKind

withKind(kind)

"Kind is the type of resource being referenced."

fn parameters.withName

withName(name)

"Name is the name of resource being referenced."

fn parameters.withNamespace

withNamespace(namespace)

"Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\"."

fn parameters.withScope

withScope(scope)

"Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\"."