Skip to content
DocsTry Aspire
DocsTry

withGatewayTlsIssuer

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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
issuerCertManagerIssuerResource
KubernetesGatewayResource

Applies to

This method applies to the following types: