Skip to content
Docs Try Aspire
Docs Try

withIngressAnnotation

Method
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
interface KubernetesIngressResource {
// ... omitted for brevity
withIngressAnnotation(
key: string,
value: string): KubernetesIngressResource;
}

Signature

method withIngressAnnotation builder
Adds a Kubernetes metadata annotation to a Kubernetes Ingress
withIngressAnnotation(
key: string,
value: string): KubernetesIngressResource
key string
value string
KubernetesIngressResource

Applies to

This method applies to the following types: