Update setup-guide.md
Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com>
This commit is contained in:
@@ -21,11 +21,6 @@ In your profile, go to **API Tokens** and click **Create Token**, then select **
|
|||||||
Permissions
|
Permissions
|
||||||
|
|
||||||
- Zone - DNS - Edit
|
- Zone - DNS - Edit
|
||||||
- Zone - Zone - Read
|
|
||||||
|
|
||||||
And the following Zone resources
|
|
||||||
|
|
||||||
- Include - Specific zone - yourdomain.com
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -35,18 +30,23 @@ Use the API Token previously created for the **api_token** field.
|
|||||||
|
|
||||||
- Change **domain** to your DNS Zone A record (yourdomain.com)
|
- Change **domain** to your DNS Zone A record (yourdomain.com)
|
||||||
- Change **record** to 'A' if you're only changing your main domain
|
- 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:
|
An example configuration could look like that:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
values:
|
values:
|
||||||
cloudflareddns:
|
workload:
|
||||||
api_token: ${DOMAIN_0_CLOUDFLARE_TOKEN}
|
main:
|
||||||
host_zone_record:
|
podSpec:
|
||||||
- domain: ${DOMAIN_0}
|
containers:
|
||||||
record: A
|
main:
|
||||||
zone: ${DOMAIN_0}
|
env:
|
||||||
|
UPDATE_IPV6: false
|
||||||
|
DETECTION_MODE: "dig-whoami.cloudflare"
|
||||||
|
LOG_LEVEL: 3
|
||||||
|
CF_APITOKEN: ${CLOUDFLARE_TOKEN}
|
||||||
|
CF_HOSTS: "minecraft.${DOMAIN_0},wireguard.${DOMAIN_1}"
|
||||||
|
INTERVAL: 300
|
||||||
```
|
```
|
||||||
|
|
||||||
If you're using or changing specific A records or CNAMEs you may want to refer to the upstream documentation for more examples [here](https://hotio.dev/containers/cloudflareddns/))
|
If you're using or changing specific A records or CNAMEs you may want to refer to the upstream documentation for more examples [here](https://hotio.dev/containers/cloudflareddns/))
|
||||||
|
|||||||
Reference in New Issue
Block a user