duckdns-go

by ebrianne

Helm chartv1.0.5App v1.0.2Verified publisher

A Helm chart for duckdns go client

About this chart

duckdns-go

duckdns-go is a go-based client to to update, clear ip and records for DuckDNS domains.

TL;DR

$ helm repo add ebrianne.github.io https://ebrianne.github.io/helm-charts
$ helm repo update
$ helm install duckdns-go \
            --namespace default \
            --set duckdns.domains='<domains>' \
            --set duckdns.token='<token>' \
            ebrianne.github.io/duckdns-go

Introduction

This chart bootstraps a duckdns-go 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 duckdns-go:

$ helm install duckdns-go \
            --namespace default \
            --set duckdns.domains='<domains>' \
            --set duckdns.token='<token>' \
            ebrianne.github.io/duckdns-go

The command deploys duckdns-go 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 duckdns-go deployment:

$ helm uninstall duckdns-go

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 duckdns-go chart and their default values.

ParameterDescriptionDefault
duckdns.domainsDuckDNS domains (comma separated)""
duckdns.tokenDuckDNS token""
image.repositoryDocker image repositoryebrianne/duckdns-go
image.tagDocker image tagv1.0.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""
resourcesPod resourcesnil
nodeSelectorNode selectornil
tolerationsNode tolerationsnil
affinityNode affinitynil

Deploy duckdns-go with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has duckdns-go 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 chartduckdns-go is pinned at v1.0.5 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