Skip to content
Docs Try Aspire
Docs Try

AzureCertManagerExtensions Methods

Class Methods 1 member
Provides AKS-specific overloads for installing cert-manager into an AzureKubernetesEnvironmentResource.
AddCertManager(IResourceBuilder<AzureKubernetesEnvironmentResource>, string, string?) Section titled AddCertManager(IResourceBuilder<AzureKubernetesEnvironmentResource>, string, string?) extension IResourceBuilder<CertManagerResource>
Installs cert-manager into the AKS cluster's underlying Kubernetes environment and returns a typed Kubernetes.CertManagerResource that can host issuer resources.
public static class AzureCertManagerExtensions
{
public static IResourceBuilder<CertManagerResource> AddCertManager(
this IResourceBuilder<AzureKubernetesEnvironmentResource> builder,
string name,
string? chartVersion = null)
{
// ...
}
}
builder IResourceBuilder<AzureKubernetesEnvironmentResource> The AKS environment resource builder.
name string The Aspire resource name for the cert-manager installation.
chartVersion string? optional The cert-manager Helm chart version to install. Defaults to a pinned version validated against this Aspire build.
IResourceBuilder<CertManagerResource> A reference to the ApplicationModel.IResourceBuilder`1 for chaining.
Delegates to CertManagerExtensions.AddCertManager against the underlying AzureKubernetesEnvironmentResource.KubernetesEnvironment, mirroring the pattern used by AzureKubernetesIngressExtensions.AddHelmChart.