Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withTls

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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: