Skip to content
DocsTry Aspire
DocsTry

withTls

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesGatewayResource {
// ... omitted for brevity
withTls(secretName: string): KubernetesGatewayResource;
}

Signature

methodwithTlsbuilder
Configures TLS on a Kubernetes Gateway listener
withTls(secretName: string): KubernetesGatewayResource
secretNamestring
KubernetesGatewayResource

Applies to

This method applies to the following types: