withHostname
Method
interface KubernetesIngressResource { // ... omitted for brevity withHostname(hostname: string): KubernetesIngressResource;}Signature
method
withHostnamebuilderAdds a hostname that this ingress matches. Multiple hostnames can be added by calling this method repeatedly. If no hostnames are configured, the ingress matches all hosts.
withHostname(hostname: string): KubernetesIngressResourceParameters
hostnamestringReturns
KubernetesIngressResourceApplies to
This method applies to the following types: