diff --git a/charts/stable/cloudflareddns/Chart.yaml b/charts/stable/cloudflareddns/Chart.yaml index fd96d3aa02d..15ac921e5e4 100644 --- a/charts/stable/cloudflareddns/Chart.yaml +++ b/charts/stable/cloudflareddns/Chart.yaml @@ -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 diff --git a/charts/stable/cloudflareddns/questions.yaml b/charts/stable/cloudflareddns/questions.yaml index 5e0dc3d8831..3cbd2681b6d 100644 --- a/charts/stable/cloudflareddns/questions.yaml +++ b/charts/stable/cloudflareddns/questions.yaml @@ -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: "" diff --git a/charts/stable/cloudflareddns/templates/_secret.tpl b/charts/stable/cloudflareddns/templates/_secret.tpl index bc4b73ebe3c..730ecbef1a5 100644 --- a/charts/stable/cloudflareddns/templates/_secret.tpl +++ b/charts/stable/cloudflareddns/templates/_secret.tpl @@ -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 }}