Skip to content
Docs Try Aspire
Docs Try

addIngress

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesEnvironmentResource {
// ... omitted for brevity
addIngress(name: string): KubernetesIngressResource;
}

Signature

method addIngress builder
Adds a Kubernetes Ingress resource to the application model as a child of the specified Kubernetes environment. The ingress generates a `networking.k8s.io/v1 Ingress` resource in the Helm chart output at publish time.
addIngress(name: string): KubernetesIngressResource
name string
KubernetesIngressResource

Applies to

This method applies to the following types: