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://github.com/hotio/cloudflareddns
- https://hotio.dev/containers/cloudflareddns/ - https://hotio.dev/containers/cloudflareddns/
type: application type: application
version: 4.0.0 version: 4.0.1
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- networking - networking
+7 -7
View File
@@ -13,6 +13,12 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: api_key
label: CF API Key
schema:
type: string
private: true
default: ""
- variable: user - variable: user
label: CF User label: CF User
description: Cloudflare Username (eg. your.cf.email@example.com) description: Cloudflare Username (eg. your.cf.email@example.com)
@@ -25,12 +31,6 @@ questions:
type: string type: string
private: true private: true
default: "" default: ""
- variable: api_key
label: CF API Key
schema:
type: string
private: true
default: ""
- variable: api_token_zone - variable: api_token_zone
label: CF API Token Zone label: CF API Token Zone
schema: schema:
@@ -71,7 +71,7 @@ questions:
description: dig-opendns.com description: dig-opendns.com
- variable: detect_override - variable: detect_override
label: Detection mode 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: schema:
type: string type: string
default: "" default: ""
@@ -6,7 +6,7 @@
{{- $domains := list }} {{- $domains := list }}
{{- $records := list }} {{- $records := list }}
{{- $zones := list }} {{- $zones := list }}
{{- range $item := $cfddns.host_and_record }} {{- range $item := $cfddns.host_zone_record }}
{{- $domains = mustAppend $domains $item.domain }} {{- $domains = mustAppend $domains $item.domain }}
{{- $records = mustAppend $records $item.record }} {{- $records = mustAppend $records $item.record }}
{{- $zones = mustAppend $zones $item.zone }} {{- $zones = mustAppend $zones $item.zone }}