Watch Aspire live streamsDocsTry Aspire

KubernetesGatewayResource.withGatewayTlsIssuer

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
interface KubernetesGatewayResource {
// ... omitted for brevity
withGatewayTlsIssuer(issuer: CertManagerIssuerResource): KubernetesGatewayResource;
}

Signature

methodwithGatewayTlsIssuerbuilder
Adds an HTTPS listener to the gateway and wires it to the supplied cert-manager `ClusterIssuer`. This adds the `cert-manager.io/cluster-issuer` annotation to the generated Gateway resource, causing cert-manager to provision and renew a certificate for each gateway listener hostname.
withGatewayTlsIssuer(issuer: CertManagerIssuerResource): KubernetesGatewayResource
issuerCertManagerIssuerResourceThe cert-manager `ClusterIssuer` to issue certificates from.
KubernetesGatewayResource

Defined on

This method is defined on the following type: