cert-manager-crds
by Snowplow
Cert Manager CRDs Helm chart for Kubernetes
About this chart
cert-manager-crds
A helm chart for the custom resource defintions behind the cert-manager chart. This allows both pieces to be installed with Helm and avoids needing to use kubectl to install the resource definition which is important for a fully automated deployment with IaC tooling like Terraform.
The cert-manager-crds chart is meant to be used along with the cert-manager chart. The reason for separating the CRDS outside the cert-manager helm release is for safety reasons, as it is the recommended approach to install CRDS with kubectl. If you manage the CRDS within the cert-manager helm release and you uninstall the release, the CRDs will also be uninstalled. If the CRDS are uninstalled, you will loose all instances of Certificate resources in your cluster. This helm chart will allow both to be managed with helm and provides flexibility of managing the CRDS outside the cert-manager helm release.
The chart templates are pulled entirely from cert-manager release downloads: https://github.com/cert-manager/cert-manager/releases/download/v{RELEASE_VERSION}/cert-manager.crds.yaml
Installing the Chart
Add the repository to Helm:
helm repo add snowplow-devops https://snowplow-devops.github.io/helm-charts
Install or upgrading the chart with default configuration:
helm upgrade --install cert-manager-crds --namespace cert-manager snowplow-devops/cert-manager-crds
Uninstalling the Chart
To uninstall/delete the cert-manager-crds release:
helm delete cert-manager-crds --namespace cert-manager
Deploy cert-manager-crds with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-crds 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 chartcert-manager-crds is pinned at v0.2.0 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