WithTls

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (KubernetesGatewayResource) WithTls(secretName string) KubernetesGatewayResource

Signature

methodWithTlsbuilder
Configures TLS on a Kubernetes Gateway listener
WithTls(secretName string) KubernetesGatewayResource
secretNamestringThe name of the Kubernetes kubernetes.io/tls Secret.
KubernetesGatewayResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: