Files
truecharts/charts/stable/cloudflareddns/docs/setup-guide.md
T
kqmaverick b321c4367c docs(cloudflareddns): update guide (#30430)
**Description**
Updates guide with better default.

⚒️ Fixes  # 

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**

**📃 Notes:**

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2024-12-29 22:20:06 +00:00

1.7 KiB

title
title
How-To

This guide will help you go through the steps to use Cloudflareddns to update your dynamic IP along with your entire deployment, so that even if you change IP your domain will point to the right address.

Prerequisites

This guide assumes you've followed our clusterissuer guide with your domain and done the configuration for your DNS on Cloudflare

The recommended way is to setup CNAMEs for your subdomains (charts) and keep your A record pointed to your base domain, such as below

cloudflare-dns

Create an API Token

In case you haven't created an api token yet, create one as follows.

In your profile, go to API Tokens and click Create Token, then select Use Template for Edit zone DNS.

Permissions

  • Zone - DNS - Edit
  • Zone - Zone - Read

And the following Zone resources

  • Include - Specific zone - yourdomain.com

cloudflare-token

Cloudflareddns Chart Setup

Use the API Token previously created for the api_token field.

  • Change domain to your DNS Zone A record (yourdomain.com)
  • Change record to 'A' if you're only changing your main domain
  • Change zone to DNS Zone ID found on the Cloudflare Overview Page for your domain.

An example configuration could look like that:

values:
  cloudflareddns:
    api_token: ${DOMAIN_0_CLOUDFLARE_TOKEN}
    host_zone_record:
      - domain: ${DOMAIN_0}
        record: A
        zone: ${DOMAIN_0}

If you're using or changing specific A records or CNAMEs you may want to refer to the upstream documentation for more examples here)