ro-cert-manager
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.
| Parameter | Description | Default | Required |
|---|---|---|---|
cert-manager.enabled | Install the cert-manager chart as a dependency | false | yes |
clusterIssuers.staging.clusterIssuerName | Name of the staging clusterIssuer | Release.Name-staging-self-signed | no |
clusterIssuers.staging.enabled | Whether or not the staging ClusterIssuer is installed | true | yes |
clusterIssuers.staging.issuerUrl | The URL to use for ACME | https://acme-staging-v02.api.letsencrypt.org/directory | no |
clusterIssuers.staging.http.enabled | Enables http01 validation on staging issuer | false | yes |
clusterIssuers.staging.dns.enabled | Enables dns01 validation on staging issuer. See values.yaml for configuration. | false | yes |
clusterIssuers.staging.solvers.http.enabled | Enables http01 validation on staging issuer | false | yes |
clusterIssuers.staging.solvers.http.selector | Match ingresses with given selector | {} | no |
clusterIssuers.staging.solvers.dns.enabled | Enables dns01 validation on staging issuer. See values.yaml for configuration. | false | yes |
clusterIssuers.staging.solvers.dns.selector | Match ingresses with given selector | {} | no |
clusterIssuers.production.clusterIssuerName | Name of the production clusterIssuer | Release.Name-production-valid | no |
clusterIssuers.production.enabled | Whether or not the production ClusterIssuer is installed | true | yes |
clusterIssuers.production.issuerUrl | The URL to use for ACME | https://acme-v02.api.letsencrypt.org/directory | no |
clusterIssuers.production.http.enabled | Enables http01 validation on production issuer | false | yes |
clusterIssuers.production.dns.enabled | Enables dns01 validation on production issuer. See values.yaml for configuration. | false | yes |
clusterIssuers.production.solvers.http.enabled | Enables http01 validation on production issuer | false | yes |
clusterIssuers.production.solvers.http.selector | Match ingresses with given selector | {} | no |
clusterIssuers.production.solvers.dns.enabled | Enables dns01 validation on production issuer. See values.yaml for configuration. | false | yes |
clusterIssuers.production.solvers.dns.selector | Match 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartro-cert-manager is pinned at v3.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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