Skip to content
DocsTry Aspire
DocsTry

withTls

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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

Applies to

This method applies to the following types: