cert-manager-webhook-duckdns

by ebrianne

Helm chartv1.2.4App v1.2.3Verified publisher

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.

ParameterDescriptionDefault
groupNameGroup name for the webhookacme.duckdns.org
logLevelLogging level2
certManager.namespacecert-manager namespacecert-manager
certManager.serviceAccountNamecert-manager service account namecert-manager
duckdns.tokenDuckDNS token""
clusterIssuer.emailCluster issuer email address[email protected]
clusterIssuer.staging.createCreate letsencrypt staging cluster issuerfalse
clusterIssuer.production.createCreate letsencrypt production cluster issuerfalse
image.repositoryDocker image repositoryebrianne/cert-manager-webhook-duckdns
image.tagDocker image tagv1.2.2
image.pullPolicyDocker image pull policyIfNotPresent
image.pullSecretDocker image pull secretnil
secret.existingSecretExisting secretfalse
secret.existingSecretNameExisting secret name""
nameOverrideName override for the chart""
fullnameOverrideFull name override for the chart""
service.typeService typeClusterIP
service.clusterIPService cluster IPnil
service.loadBalancerIPService LB IPnil
service.portService port443
resourcesPod ressourcesnil
nodeSelectorNode selectornil
tolerationsNode tolerationsnil
affinityNode affinitynil

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcert-manager-webhook-duckdns is pinned at v1.2.4 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