cert-manager-webhook-duckdns
by ebrianne
A Helm chart for cert manager webhook solver for ACME DNS01 challenge via DuckDNS
About this chart
cert-manager-webhook-duckdns
cert-manager is a native Kubernetes certificate management controller. It can help with issuing certificates from a variety of sources, such as Let’s Encrypt, HashiCorp Vault, Venafi, a simple signing key pair, or self signed. It will ensure certificates are valid and up to date, and attempt to renew certificates at a configured time before expiry.
TL;DR
$ helm repo add ebrianne.github.io https://ebrianne.github.io/helm-charts
$ helm repo update
$ helm install cert-manager-webhook-duckdns \
--namespace cert-manager \
--set duckdns.token='<token>' \
--set clusterIssuer.production.create=true \
--set clusterIssuer.staging.create=true \
--set clusterIssuer.email=<email> \
--set logLevel=2 \
ebrianne.github.io/cert-manager-webhook-duckdns
Introduction
This chart bootstraps a duckdns cert-manager-webhook deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.18+
- Helm 3.0+
Installing the Chart
To install the chart with the release name cert-manager-webhook-duckdns:
$ helm install cert-manager-webhook-duckdns \
--namespace cert-manager \
--set duckdns.token='<token>' \
--set clusterIssuer.production.create=true \
--set clusterIssuer.staging.create=true \
--set clusterIssuer.email=<email> \
--set logLevel=2 \
ebrianne.github.io/cert-manager-webhook-duckdns
The command deploys cert-manager-webhook-duckdns on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the cert-manager-webhook-duckdns deployment:
$ helm delete cert-manager-webhook-duckdns
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
The following table lists the configurable parameters of the cert-manager-webhook-duckdns chart and their default values.
| Parameter | Description | Default |
|---|---|---|
groupName | Group name for the webhook | acme.duckdns.org |
logLevel | Logging level | 2 |
certManager.namespace | cert-manager namespace | cert-manager |
certManager.serviceAccountName | cert-manager service account name | cert-manager |
duckdns.token | DuckDNS token | "" |
clusterIssuer.email | Cluster issuer email address | [email protected] |
clusterIssuer.staging.create | Create letsencrypt staging cluster issuer | false |
clusterIssuer.production.create | Create letsencrypt production cluster issuer | false |
image.repository | Docker image repository | ebrianne/cert-manager-webhook-duckdns |
image.tag | Docker image tag | v1.2.2 |
image.pullPolicy | Docker image pull policy | IfNotPresent |
image.pullSecret | Docker image pull secret | nil |
secret.existingSecret | Existing secret | false |
secret.existingSecretName | Existing secret name | "" |
nameOverride | Name override for the chart | "" |
fullnameOverride | Full name override for the chart | "" |
service.type | Service type | ClusterIP |
service.clusterIP | Service cluster IP | nil |
service.loadBalancerIP | Service LB IP | nil |
service.port | Service port | 443 |
resources | Pod ressources | nil |
nodeSelector | Node selector | nil |
tolerations | Node tolerations | nil |
affinity | Node affinity | nil |
Deploy cert-manager-webhook-duckdns 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-webhook-duckdns 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-webhook-duckdns is pinned at v1.2.4 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