Skip to content
Docs Try Aspire
Docs Try

withTls

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

Signature

method withTls builder
Configures TLS on a Kubernetes Gateway listener
withTls(secretName: string): KubernetesGatewayResource
secretName string
KubernetesGatewayResource

Applies to

This method applies to the following types: