digitalocean-dyndns
by pascaliske
A Helm chart for a CronJob based DigitalOcean DynDNS client.
About this chart
digitalocean-dyndns
A Helm chart for a CronJob based DigitalOcean DynDNS client.
Requirements
Usage
To use this chart add the repo as follows:
helm repo add pascaliske https://charts.pascaliske.dev
If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.
To install this chart simply run the following command:
helm install digitalocean-dyndns pascaliske/digitalocean-dyndns
To uninstall this chart simply run the following command:
helm delete digitalocean-dyndns
Values
The following values can be used to adjust the helm chart.
| Key | Type | Default | Description |
|---|---|---|---|
| cronJob.annotations | object | {} | Additional annotations for the cronjob object. |
| cronJob.enabled | bool | true | Create a cron job to update the DNS zone. |
| cronJob.failedJobsHistoryLimit | int | 1 | The number of failed finished jobs to retain. |
| cronJob.labels | object | {} | Additional labels for the cronjob object. |
| cronJob.nameservers | list | [] | The nameservers used to resolve ip service domain. Leave empty to inherit from cluster/node. |
| cronJob.schedule | string | "30 * * * *" | Update schedule for the cron job. |
| cronJob.successfulJobsHistoryLimit | int | 3 | The number of successful finished jobs to retain. |
| cronJob.suspend | bool | false | Enable/disable the cron job schedule quickly. |
| env[0] | object | {"name":"TZ","value":"UTC"} | Timezone for the container. |
| env[1] | object | {"name":"IP_SERVICE","value":"ifconfig.co"} | The IP service used to determine the current public IP. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | The pull policy for the deployment. |
| image.repository | string | "ghcr.io/pascaliske/digitalocean-dyndns" | The repository to pull the image from. |
| image.tag | string | .Chart.AppVersion | The docker tag, if left empty chart's appVersion will be used. |
| nameOverride | string | "" | |
| resources | object | {} | Compute resources used by the container. More info here. |
| secret.annotations | object | {} | Additional annotations for the secret object. |
| secret.create | bool | true | Create a new secret containing the token. |
| secret.existingSecret | string | "" | Use an existing secret to store the token. |
| secret.labels | object | {} | Additional labels for the secret object. |
| secret.token | string | "" | Token used when not using an existing secret. |
Maintainers
| Name | Url | |
|---|---|---|
| pascaliske | [email protected] | https://pascaliske.dev |
License
MIT – © 2023 Pascal Iske
Deploy digitalocean-dyndns with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has digitalocean-dyndns 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 chartdigitalocean-dyndns is pinned at v0.2.5 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