Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

KubernetesIngressResource.withTls

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
interface KubernetesIngressResource {
// ... omitted for brevity
withTls(secretName: string): KubernetesIngressResource;
}

Signature

methodwithTlsbuilder
Configures TLS for a Kubernetes Ingress using a K8S secret
withTls(secretName: string): KubernetesIngressResource
secretNamestring
KubernetesIngressResource

Defined on

This method is defined on the following type: