ro-cert-manager

by joaquinito2051

Helm chartv3.0.1App v0.8.1

Install cert-manager and setup CA cluster-issuers

About this chart

Chart - ro-cert-manager

Installs the necessary additional items that the cert-manager chart lacks.

Known Issues

Race Condition With Cert-manager Chart

When this chart is installed too quickly after versions 0.6+ of the cert-manager chart, the cert-manager validating webhook may not yet be initialized, making cert-manager incapable of creating Clusterissuer objects.

Until this chart is updated to address this issue, we recommend keeping the default value of cert-manager.enabled as false for this chart, and installing the cert-manager chart separately. Allow one minute for the cert-manager webhook to initialize before installing this chart.

For discussion and updates, see this issue.

Note on configuration with 0.8.0 and newer versions of cert-manager

After upgrading to cert-manager 0.8.0 or higher, the clusterIssuers.staging.http, clusterIssuers.staging.dns, clusterIssuers.production.http, and clusterIssuers.production.dns can be removed, as the corresponding solvers sections will take their place. Until v1.0 of cert-manager, both configurations can be present to allow time for deprecating those old fields.

The new selector fields within solvers.http and solvers.dns let you set up multiple solvers with different ingress selectors

Configuration

The following table lists the configurable parameters of the chart and their default values.

ParameterDescriptionDefaultRequired
cert-manager.enabledInstall the cert-manager chart as a dependencyfalseyes
clusterIssuers.staging.clusterIssuerNameName of the staging clusterIssuerRelease.Name-staging-self-signedno
clusterIssuers.staging.enabledWhether or not the staging ClusterIssuer is installedtrueyes
clusterIssuers.staging.issuerUrlThe URL to use for ACMEhttps://acme-staging-v02.api.letsencrypt.org/directoryno
clusterIssuers.staging.http.enabledEnables http01 validation on staging issuerfalseyes
clusterIssuers.staging.dns.enabledEnables dns01 validation on staging issuer. See values.yaml for configuration.falseyes
clusterIssuers.staging.solvers.http.enabledEnables http01 validation on staging issuerfalseyes
clusterIssuers.staging.solvers.http.selectorMatch ingresses with given selector{}no
clusterIssuers.staging.solvers.dns.enabledEnables dns01 validation on staging issuer. See values.yaml for configuration.falseyes
clusterIssuers.staging.solvers.dns.selectorMatch ingresses with given selector{}no
clusterIssuers.production.clusterIssuerNameName of the production clusterIssuerRelease.Name-production-validno
clusterIssuers.production.enabledWhether or not the production ClusterIssuer is installedtrueyes
clusterIssuers.production.issuerUrlThe URL to use for ACMEhttps://acme-v02.api.letsencrypt.org/directoryno
clusterIssuers.production.http.enabledEnables http01 validation on production issuerfalseyes
clusterIssuers.production.dns.enabledEnables dns01 validation on production issuer. See values.yaml for configuration.falseyes
clusterIssuers.production.solvers.http.enabledEnables http01 validation on production issuerfalseyes
clusterIssuers.production.solvers.http.selectorMatch ingresses with given selector{}no
clusterIssuers.production.solvers.dns.enabledEnables dns01 validation on production issuer. See values.yaml for configuration.falseyes
clusterIssuers.production.solvers.dns.selectorMatch ingresses with given selector{}no

Deploy ro-cert-manager with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ro-cert-manager on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartro-cert-manager is pinned at v3.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply