fix(cloudflareddns) fix variable key (#6000)

* fix(cloudflareddns) fix variable key

* Restored $cfddns key
This commit is contained in:
Xstar97
2023-01-06 19:46:10 +02:00
committed by GitHub
parent 0ec7d43e06
commit d9890d8797
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ sources:
- https://github.com/hotio/cloudflareddns
- https://hotio.dev/containers/cloudflareddns/
type: application
version: 4.0.0
version: 4.0.1
annotations:
truecharts.org/catagories: |
- networking
+7 -7
View File
@@ -13,6 +13,12 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: api_key
label: CF API Key
schema:
type: string
private: true
default: ""
- variable: user
label: CF User
description: Cloudflare Username (eg. your.cf.email@example.com)
@@ -25,12 +31,6 @@ questions:
type: string
private: true
default: ""
- variable: api_key
label: CF API Key
schema:
type: string
private: true
default: ""
- variable: api_token_zone
label: CF API Token Zone
schema:
@@ -71,7 +71,7 @@ questions:
description: dig-opendns.com
- variable: detect_override
label: Detection mode Override
description: If you want to set DETECTION_MODE to 'local:eth0' for a local interface, this will override the dropdown selection
description: If you want to set Detection Mode to 'local:eth0' for a local interface, this will override the dropdown selection
schema:
type: string
default: ""
@@ -6,7 +6,7 @@
{{- $domains := list }}
{{- $records := list }}
{{- $zones := list }}
{{- range $item := $cfddns.host_and_record }}
{{- range $item := $cfddns.host_zone_record }}
{{- $domains = mustAppend $domains $item.domain }}
{{- $records = mustAppend $records $item.record }}
{{- $zones = mustAppend $zones $item.zone }}