فهرست منبع

fix deprecations (#2819)

* fix deprecations

* bump

* whoops

* fix test

* whops
Stavros Kois 11 ماه پیش
والد
کامیت
1a64940702
42فایلهای تغییر یافته به همراه48 افزوده شده و 233 حذف شده
  1. 2 2
      library/ix-dev/community/ddns-updater/Chart.yaml
  2. 0 2
      library/ix-dev/community/ddns-updater/ci/ddnss-values.yaml
  3. 0 2
      library/ix-dev/community/ddns-updater/ci/dnsomatic-values.yaml
  4. 2 3
      library/ix-dev/community/ddns-updater/ci/duckdns-values.yaml
  5. 0 1
      library/ix-dev/community/ddns-updater/ci/dyndns-values.yaml
  6. 0 2
      library/ix-dev/community/ddns-updater/ci/dynu-values.yaml
  7. 0 1
      library/ix-dev/community/ddns-updater/ci/dynv6-values.yaml
  8. 0 1
      library/ix-dev/community/ddns-updater/ci/he-values.yaml
  9. 0 2
      library/ix-dev/community/ddns-updater/ci/infomaniak-values.yaml
  10. 0 2
      library/ix-dev/community/ddns-updater/ci/namecheap-values.yaml
  11. 0 2
      library/ix-dev/community/ddns-updater/ci/njalla-values.yaml
  12. 0 2
      library/ix-dev/community/ddns-updater/ci/noip-values.yaml
  13. 0 2
      library/ix-dev/community/ddns-updater/ci/opendns-values.yaml
  14. 0 4
      library/ix-dev/community/ddns-updater/ci/ovh-values.yaml
  15. 0 2
      library/ix-dev/community/ddns-updater/ci/selfhostedde-values.yaml
  16. 0 2
      library/ix-dev/community/ddns-updater/ci/servercow-values.yaml
  17. 0 3
      library/ix-dev/community/ddns-updater/ci/spdyn-values.yaml.yaml
  18. 0 2
      library/ix-dev/community/ddns-updater/ci/strato-values.yaml
  19. 0 2
      library/ix-dev/community/ddns-updater/ci/variomedia-values.yaml
  20. 20 147
      library/ix-dev/community/ddns-updater/questions.yaml
  21. 0 2
      library/ix-dev/community/ddns-updater/templates/_configuration.tpl
  22. 2 2
      library/ix-dev/community/ddns-updater/templates/_validation.tpl
  23. 13 0
      library/ix-dev/community/ddns-updater/templates/common.yaml
  24. 0 4
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_ddnss.tpl
  25. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_dnsomatic.tpl
  26. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_duckdns.tpl
  27. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_dyndns.tpl
  28. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_dynu.tpl
  29. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_dynv6.tpl
  30. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_he.tpl
  31. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_infomaniak.tpl
  32. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_namecheap.tpl
  33. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_njalla.tpl
  34. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_noip.tpl
  35. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_opendns.tpl
  36. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_ovh.tpl
  37. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_selfhostde.tpl
  38. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_servercow.tpl
  39. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_spdyn.tpl
  40. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_strato.tpl
  41. 0 2
      library/ix-dev/community/ddns-updater/templates/dnsProviders/_variomedia.tpl
  42. 9 5
      library/ix-dev/community/ddns-updater/values.yaml

+ 2 - 2
library/ix-dev/community/ddns-updater/Chart.yaml

@@ -3,9 +3,9 @@ description: Lightweight universal DDNS Updater with web UI
 annotations:
   title: DDNS Updater
 type: application
-version: 1.0.29
+version: 1.0.30
 apiVersion: v2
-appVersion: 2.7.0
+appVersion: 2.9.0
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/ddnss-values.yaml

@@ -17,7 +17,6 @@ ddnsConfig:
       ipVersion: ""
       ddnssUsername: username
       ddnssPassword: password
-      ddnssProviderIP: false
       ddnssDualStack: true
     - provider: ddnss
       host: "@"
@@ -25,4 +24,3 @@ ddnsConfig:
       ipVersion: ""
       ddnssUsername: username
       ddnssPassword: password
-      ddnssProviderIP: true

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/dnsomatic-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       dnsOMaticUsername: username
       dnsOMaticPassword: password
-      dnsOMaticProviderIP: false
     - provider: dnsomatic
       host: "@"
       domain: example.com
       ipVersion: ""
       dnsOMaticUsername: username
       dnsOMaticPassword: password
-      dnsOMaticProviderIP: true

+ 2 - 3
library/ix-dev/community/ddns-updater/ci/duckdns-values.yaml

@@ -12,7 +12,6 @@ ci: true
 ddnsConfig:
   config:
     - provider: duckdns
-      host: subdomain
-      domain: example.com
+      host: subdomain.example
+      domain: subdomain.example.duckdns.org
       duckdnsToken: abcd1234-abcd-1234-abcd-abcd1234abcd
-      duckdnsProviderIP: false

+ 0 - 1
library/ix-dev/community/ddns-updater/ci/dyndns-values.yaml

@@ -16,4 +16,3 @@ ddnsConfig:
       domain: example.com
       dynClientKey: key
       dynUsername: user
-      dynProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/dynu-values.yaml

@@ -16,11 +16,9 @@ ddnsConfig:
       domain: example.com
       dynuUsername: user
       dynuPassword: password
-      dynuProviderIP: false
     - provider: dynu
       host: "@"
       domain: example.com
       dynuUsername: user
       dynuPassword: password
       dynuGroup: group
-      dynuProviderIP: true

+ 0 - 1
library/ix-dev/community/ddns-updater/ci/dynv6-values.yaml

@@ -15,4 +15,3 @@ ddnsConfig:
       host: "@"
       domain: example.com
       dynv6Token: token
-      dynv6ProviderIP: false

+ 0 - 1
library/ix-dev/community/ddns-updater/ci/he-values.yaml

@@ -16,7 +16,6 @@ ddnsConfig:
       domain: example.com
       ipVersion: ""
       hePassword: password
-      heProviderIP: true
     - provider: he
       host: "@"
       domain: example.com

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/infomaniak-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       infomaniakUsername: username
       infomaniakPassword: password
-      infomaniakProviderIP: true
     - provider: infomaniak
       host: "@"
       domain: example.com
       ipVersion: ""
       infomaniakUsername: username
       infomaniakPassword: password
-      infomaniakProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/namecheap-values.yaml

@@ -16,10 +16,8 @@ ddnsConfig:
       domain: example.com
       ipVersion: ""
       namecheapPassword: abcdef123456abcdef123456abcdef12
-      namecheapProviderIP: true
     - provider: namecheap
       host: subdomain
       domain: example.com
       ipVersion: ""
       namecheapPassword: abcdef123456abcdef123456abcdef12
-      namecheapProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/njalla-values.yaml

@@ -16,10 +16,8 @@ ddnsConfig:
       domain: example.com
       ipVersion: ""
       njallaKey: key
-      njallaProviderIP: true
     - provider: njalla
       host: "@"
       domain: example.com
       ipVersion: ""
       njallaKey: key
-      njallaProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/noip-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       noipUsername: username
       noipPassword: password
-      noipProviderIP: true
     - provider: noip
       host: "@"
       domain: example.com
       ipVersion: ""
       noipUsername: username
       noipPassword: password
-      noipProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/opendns-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       opendnsUsername: username
       opendnsPassword: password
-      opendnsProviderIP: true
     - provider: opendns
       host: "@"
       domain: example.com
       ipVersion: ""
       opendnsUsername: username
       opendnsPassword: password
-      opendnsProviderIP: false

+ 0 - 4
library/ix-dev/community/ddns-updater/ci/ovh-values.yaml

@@ -18,7 +18,6 @@ ddnsConfig:
       ovhMode: dynamic
       ovhUsername: username
       ovhPassword: password
-      ovhProviderIP: true
     - provider: ovh
       host: "@"
       domain: example.com
@@ -26,7 +25,6 @@ ddnsConfig:
       ovhMode: dynamic
       ovhUsername: username
       ovhPassword: password
-      ovhProviderIP: false
     - provider: ovh
       host: "@"
       domain: example.com
@@ -36,7 +34,6 @@ ddnsConfig:
       ovhAppKey: applicationKey
       ovhAppSecret: applicationSecret
       ovhConsumerKey: consumerKey
-      ovhProviderIP: false
     - provider: ovh
       host: "@"
       domain: example.com
@@ -46,4 +43,3 @@ ddnsConfig:
       ovhAppKey: applicationKey
       ovhAppSecret: applicationSecret
       ovhConsumerKey: consumerKey
-      ovhProviderIP: true

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/selfhostedde-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       selfhostdeUsername: 123456
       selfhostdePassword: password
-      selfhostdeProviderIP: true
     - provider: selfhost.de
       host: "@"
       domain: example.com
       ipVersion: ""
       selfhostdeUsername: username
       selfhostdePassword: password
-      selfhostdeProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/servercow-values.yaml

@@ -18,7 +18,6 @@ ddnsConfig:
       servercowUsername: username
       servercowPassword: password
       servercowTtl: 120
-      servercowProviderIP: false
     - provider: servercow
       host: "@"
       domain: example.com
@@ -26,4 +25,3 @@ ddnsConfig:
       servercowUsername: username
       servercowPassword: password
       servercowTtl: 120
-      servercowProviderIP: true

+ 0 - 3
library/ix-dev/community/ddns-updater/ci/spdyn-values.yaml.yaml

@@ -16,17 +16,14 @@ ddnsConfig:
       domain: example.com
       ipVersion: ""
       spdynToken: token
-      spdynProviderIP: false
     - provider: spdyn
       host: "@"
       domain: example.com
       ipVersion: ""
       spdynToken: token
-      spdynProviderIP: true
     - provider: spdyn
       host: "@"
       domain: example.com
       ipVersion: ""
       spdynUsername: username
       spdynPassword: password
-      spdynProviderIP: false

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/strato-values.yaml

@@ -16,10 +16,8 @@ ddnsConfig:
       domain: example.com
       ipVersion: ""
       stratoPassword: password
-      stratoProviderIP: false
     - provider: strato
       host: "@"
       domain: example.com
       ipVersion: ""
       stratoPassword: password
-      stratoProviderIP: true

+ 0 - 2
library/ix-dev/community/ddns-updater/ci/variomedia-values.yaml

@@ -17,11 +17,9 @@ ddnsConfig:
       ipVersion: ""
       variomediaPassword: password
       variomediaEmail: email@example.com
-      variomediaProviderIP: false
     - provider: variomedia
       host: "@"
       domain: example.com
       ipVersion: ""
       variomediaPassword: password
       variomediaEmail: email@example.com
-      variomediaProviderIP: true

+ 20 - 147
library/ix-dev/community/ddns-updater/questions.yaml

@@ -154,11 +154,23 @@ questions:
                       label: Domain
                       description: |
                         Domain </br>
-                        For example: example.com
+                        For example:</br>
+                        - example.com</br>
+                        - *.example.com</br>
+                        - sub.example.com</br>
                       schema:
                         type: string
                         required: true
-                        empty: false
+                        default: ""
+
+                    - variable: host
+                      label: Host (Deprecated)
+                      description: |
+                        DEPRECATED. Use Domain field instead.</br>
+                        It will be removed in the near future.
+                      schema:
+                        type: string
+                        default: ""
                     - variable: ipVersion
                       label: IP Version
                       description: |
@@ -174,16 +186,6 @@ questions:
                             description: IPv6
                           - value: ""
                             description: IPv4 and IPv6
-                    - variable: host
-                      label: Host
-                      description: |
-                        Host. </br>
-                        For example: "@"
-                      schema:
-                        type: string
-                        default: "@"
-                        required: true
-                        empty: false
 
                     # Aliyun
                     - variable: aliyunAccessKey
@@ -313,13 +315,6 @@ questions:
                         private: true
                         required: true
                         empty: false
-                    - variable: ddnssProviderIP
-                      label: DDNSS Provider IP
-                      description: DDNSS Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "ddnss"]]
-                        default: false
                     - variable: ddnssDualStack
                       label: DDNSS Dual Stack
                       description: DDNSS Dual Stack.
@@ -368,13 +363,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: dnsOMaticProviderIP
-                      label: DNS O Matic Provider IP
-                      description: DNS O Matic Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "dnsomatic"]]
-                        default: false
 
                     # DNS Pod
                     - variable: dnsPodToken
@@ -435,13 +423,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: duckdnsProviderIP
-                      label: Duck DNS Provider IP
-                      description: Duck DNS Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "duckdns"]]
-                        default: false
 
                     # DynDNS
                     - variable: dynClientKey
@@ -461,13 +442,6 @@ questions:
                         show_if: [["provider", "=", "dyn"]]
                         required: true
                         empty: false
-                    - variable: dynProviderIP
-                      label: DynDNS Provider IP
-                      description: DynDNS Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "dyn"]]
-                        default: false
 
                     # Dynu
                     - variable: dynuUsername
@@ -493,13 +467,6 @@ questions:
                       schema:
                         type: string
                         show_if: [["provider", "=", "dynu"]]
-                    - variable: dynuProviderIP
-                      label: Dynu Provider IP
-                      description: Dynu Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "dynu"]]
-                        default: false
 
                     # DynV6
                     - variable: dynv6Token
@@ -511,13 +478,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: dynv6ProviderIP
-                      label: DynV6 Provider IP
-                      description: DynV6 Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "dynv6"]]
-                        default: false
 
                     # EasyDNS
                     - variable: easyDnsUsername
@@ -665,13 +625,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: heProviderIP
-                      label: He.net Provider IP
-                      description: He.net Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "he"]]
-                        default: false
 
                     # Hetzner
                     - variable: hetznerToken
@@ -716,13 +669,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: infomaniakProviderIP
-                      label: Infomaniak Provider IP
-                      description: Infomaniak Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "infomaniak"]]
-                        default: false
 
                     # INWX
                     - variable: inwxUsername
@@ -794,13 +740,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: namecheapProviderIP
-                      label: Namecheap Provider IP
-                      description: Namecheap Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "namecheap"]]
-                        default: false
 
                     # Name.com
                     - variable: namecomUsername
@@ -886,13 +825,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: njallaProviderIP
-                      label: Njalla Provider IP
-                      description: Njalla Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "njalla"]]
-                        default: false
 
                     # NoIP
                     - variable: noipUsername
@@ -912,13 +844,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: noipProviderIP
-                      label: NoIP Provider IP
-                      description: NoIP Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "noip"]]
-                        default: false
 
                     # OpenDNS
                     - variable: opendnsUsername
@@ -938,13 +863,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: opendnsProviderIP
-                      label: OpenDNS Provider IP
-                      description: OpenDNS Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "opendns"]]
-                        default: false
 
                     # OVH
                     - variable: ovhMode
@@ -1001,13 +919,6 @@ questions:
                         type: string
                         private: true
                         show_if: [["provider", "=", "ovh"]]
-                    - variable: ovhProviderIP
-                      label: OVH Provider IP
-                      description: OVH Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "ovh"]]
-                        default: false
 
                     # Porkbun
                     - variable: porkbunApiKey
@@ -1054,13 +965,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: selfhostdeProviderIP
-                      label: Selfhost.de Provider IP
-                      description: Selfhost.de Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "selfhost.de"]]
-                        default: false
 
                     # Servercow
                     - variable: servercowUsername
@@ -1087,13 +991,6 @@ questions:
                         type: int
                         show_if: [["provider", "=", "servercow"]]
                         default: 120
-                    - variable: servercowProviderIP
-                      label: Servercow Provider IP
-                      description: Servercow Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "servercow"]]
-                        default: false
 
                     # Spdyn.de
                     - variable: spdynToken
@@ -1122,13 +1019,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: spdynProviderIP
-                      label: Spdyn.de Provider IP
-                      description: Spdyn.de Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "spdyn"]]
-                        default: false
 
                     # Strato
                     - variable: stratoPassword
@@ -1140,13 +1030,6 @@ questions:
                         required: true
                         private: true
                         empty: false
-                    - variable: stratoProviderIP
-                      label: Strato Provider IP
-                      description: Strato Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "strato"]]
-                        default: false
 
                     # Variomedia
                     - variable: variomediaPassword
@@ -1166,13 +1049,6 @@ questions:
                         show_if: [["provider", "=", "variomedia"]]
                         required: true
                         empty: false
-                    - variable: variomediaProviderIP
-                      label: Variomedia Provider IP
-                      description: Variomedia Provider IP.
-                      schema:
-                        type: boolean
-                        show_if: [["provider", "=", "variomedia"]]
-                        default: false
 
                     # ZoneEdit
                     - variable: zoneeditUsername
@@ -1274,7 +1150,7 @@ questions:
             min: 1
             required: true
             empty: false
-            default: [{"provider": "all", "placeholder": "placeholder"}]
+            default: [{ "provider": "all", "placeholder": "placeholder" }]
             items:
               - variable: publicIpDnsProviderEntry
                 label: Public IP DNS Provider Entry
@@ -1310,7 +1186,7 @@ questions:
             min: 1
             required: true
             empty: false
-            default: [{"provider": "all", "custom": ""}]
+            default: [{ "provider": "all", "custom": "" }]
             items:
               - variable: publicIpHttpProviderEntry
                 label: Public IP HTTP Provider Entry
@@ -1331,8 +1207,6 @@ questions:
                             description: ifconfig
                           - value: ipinfo
                             description: ipinfo
-                          - value: google
-                            description: google
                           - value: spdyn
                             description: spdyn
                           - value: ipleak
@@ -1354,7 +1228,7 @@ questions:
             min: 1
             required: true
             empty: false
-            default: [{"provider": "all", "custom": ""}]
+            default: [{ "provider": "all", "custom": "" }]
             items:
               - variable: publicIpv4HttpProviderEntry
                 label: Public IPv4 HTTP Provider Entry
@@ -1390,7 +1264,7 @@ questions:
             min: 1
             required: true
             empty: false
-            default: [{"provider": "all", "custom": ""}]
+            default: [{ "provider": "all", "custom": "" }]
             items:
               - variable: publicIpv6HttpProviderEntry
                 label: Public IPv6 HTTP Provider Entry
@@ -1426,7 +1300,7 @@ questions:
             min: 1
             required: true
             empty: false
-            default: [{"provider": "all", "placeholder": "placeholder"}]
+            default: [{ "provider": "all", "placeholder": "placeholder" }]
             items:
               - variable: publicIpFetcherEntry
                 label: Public IP Fetcher Entry
@@ -1455,7 +1329,6 @@ questions:
                         required: true
                         hidden: true
 
-
         - variable: additionalEnvs
           label: Additional Environment Variables
           description: Configure additional environment variables for DDNS Updater.
@@ -1601,7 +1474,7 @@ questions:
                 schema:
                   type: string
                   max_length: 12
-                  valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
+                  valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
                   valid_chars_error: |
                     Valid Memory limit formats are</br>
                     - Suffixed with E/P/T/G/M/K - eg. 1G</br>

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/_configuration.tpl

@@ -62,5 +62,3 @@ settings:
     {{- include (printf "ddns.config.%v" $item.provider) (dict "item" $item) | trim | nindent 4 -}}
   {{- end -}}
 {{- end -}}
-
-{{/* TODO: OVH */}}

+ 2 - 2
library/ix-dev/community/ddns-updater/templates/_validation.tpl

@@ -1,11 +1,11 @@
 {{- define "ddns.validation" -}}
   {{- include "ddns.validatePublicIpProviders" (dict "text" "Public IP DNS Providers"
                                             "list" .Values.ddnsConfig.publicIpDnsProviders
-                                            "valid" (list "all" "cloudflare" "google")) -}}
+                                            "valid" (list "all" "cloudflare" "opendns")) -}}
 
   {{- include "ddns.validatePublicIpProviders" (dict "text" "Public IP HTTP Providers"
                                             "list" .Values.ddnsConfig.publicIpHttpProviders
-                                            "valid" (list "all" "custom" "opendns" "ifconfig" "ipinfo" "ddnss" "google")) -}}
+                                            "valid" (list "all" "custom" "opendns" "ifconfig" "ipinfo" "ddnss")) -}}
 
   {{- include "ddns.validatePublicIpProviders" (dict "text" "Public IPv4 HTTP Providers"
                                             "list" .Values.ddnsConfig.publicIpv4HttpProviders

+ 13 - 0
library/ix-dev/community/ddns-updater/templates/common.yaml

@@ -7,4 +7,17 @@
 {{/* Create the configmap for portal manually*/}}
 {{- include "ddns.portal" $ -}}
 
+{{- $warnings := list -}}
+{{- range $item := .Values.ddnsConfig.config -}}
+  {{- if $item.host -}}
+    {{- $warnings = mustAppend $warnings (printf "- Provider [%s] has deprecated [Host] field set, with value [%s]" $item.provider $item.host) -}}
+  {{- end -}}
+{{- end -}}
+
+{{- if $warnings -}}
+  {{- $text := "WARNING: The following providers have deprecated fields set:" -}}
+  {{- $text = printf "%s\n%s" $text (join "\n" $warnings) -}}
+  {{- $_ := set .Values.notes "custom" $text -}}
+{{- end -}}
+
 {{- include "ix.v1.common.loader.apply" . -}}

+ 0 - 4
library/ix-dev/community/ddns-updater/templates/dnsProviders/_ddnss.tpl

@@ -3,11 +3,8 @@
   {{- $item := .item }}
 username: {{ $item.ddnssUsername | required "DDNS Updater - Expected non-empty [Username] for DDNSS provider" }}
 password: {{ $item.ddnssPassword | required "DDNS Updater - Expected non-empty [Password] for DDNSS provider" }}
-provider_ip: {{ $item.ddnssProviderIP }}
-{{- if not $item.ddnssProviderIP }}
 dual_stack: {{ $item.ddnssDualStack | default false }}
 {{- end -}}
-{{- end -}}
 {{/*
 ddnsConfig:
   config:
@@ -17,6 +14,5 @@ ddnsConfig:
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       ddnssUsername: user       - Required
       ddnssPassword: password   - Required
-      ddnssProviderIP: true     - Required - Valid values (true/false)
       ddnssDualStack: false     - Optional - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_dnsomatic.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 username: {{ $item.dnsOMaticUsername | required "DDNS Updater - Expected non-empty [Username] for DNS O Matic provider" }}
 password: {{ $item.dnsOMaticPassword | required "DDNS Updater - Expected non-empty [Password] for DNS O Matic provider" }}
-provider_ip: {{ $item.dnsOMaticProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       dnsOMaticUsername: user   - Required
       dnsOMaticPassword: pass   - Required
-      dnsOMaticProviderIP: true - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_duckdns.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.duckdns" -}}
   {{- $item := .item }}
 token: {{ $item.duckdnsToken | required "DDNS Updater - Expected non-empty [Token] for DuckDNS provider" }}
-provider_ip: {{ $item.duckdnsProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "subdomain"         - Required - Valid value (subdomain)
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       duckdnsToken: token       - Required
-      duckdnsProviderIP: true   - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_dyndns.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 client_key: {{ $item.dynClientKey | required "DDNS Updater - Expected non-empty [Client Key] for DynDNS provider" }}
 username: {{ $item.dynUsername | required "DDNS Updater - Expected non-empty [Username] for DynDNS provider" }}
-provider_ip: {{ $item.dynProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       dynClientKey: key         - Required
       dynUsername: username     - Required
-      dynProviderIP: true       - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_dynu.tpl

@@ -6,7 +6,6 @@ password: {{ $item.dynuPassword | required "DDNS Updater - Expected non-empty [P
 {{- if $item.dynuGroup }}
 group: {{ $item.dynuGroup }}
 {{- end }}
-provider_ip: {{ $item.dynuProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -18,5 +17,4 @@ ddnsConfig:
       dynuUsername: username    - Required
       dynuPassword: password    - Required
       dynuGroup: group          - Optional
-      dynuProviderIP: true      - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_dynv6.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.dynv6" -}}
   {{- $item := .item }}
 token: {{ $item.dynv6Token | required "DDNS Updater - Expected non-empty [Token] for DynV6 provider" }}
-provider_ip: {{ $item.dynv6ProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "@"                 - Required - Valid value ("@" or subdomain)
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       dynv6Token: token         - Required
-      dynv6ProviderIP: true     - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_he.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.he" -}}
   {{- $item := .item }}
 password: {{ $item.hePassword | required "DDNS Updater - Expected non-empty [Password] for He.net provider" }}
-provider_ip: {{ $item.heProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "@"                 - Required - Valid value ("@" or subdomain)
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
       hePassword: password      - Required
-      heProviderIP: true        - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_infomaniak.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 username: {{ $item.infomaniakUsername | required "DDNS Updater - Expected non-empty [Username] for Infomaniak provider" }}
 password: {{ $item.infomaniakPassword | required "DDNS Updater - Expected non-empty [Password] for Infomaniak provider" }}
-provider_ip: {{ $item.infomaniakProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       infomaniakUsername: user          - Required
       infomaniakPassword: password      - Required
-      infomaniakProviderIP: true        - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_namecheap.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.namecheap" -}}
   {{- $item := .item }}
 password: {{ $item.namecheapPassword | required "DDNS Updater - Expected non-empty [Password] for Namecheap provider" }}
-provider_ip: {{ $item.namecheapProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "@"                         - Required - Valid value ("@" or subdomain)
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       namecheapPassword: password       - Required
-      namecheapProviderIP: false        - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_njalla.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.njalla" -}}
   {{- $item := .item }}
 key: {{ $item.njallaKey | required "DDNS Updater - Expected non-empty [Key] for Njalla provider" }}
-provider_ip: {{ $item.njallaProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "@"                         - Required - Valid value ("@" or subdomain)
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       njallaKey: key                    - Required
-      njallaProviderIP: false           - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_noip.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 username: {{ $item.noipUsername | required "DDNS Updater - Expected non-empty [Username] for NoIP provider" }}
 password: {{ $item.noipPassword | required "DDNS Updater - Expected non-empty [Password] for NoIP provider" }}
-provider_ip: {{ $item.noipProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       noipUsername: username            - Required
       noipPassword: password            - Required
-      noipProviderIP: false             - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_opendns.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 username: {{ $item.opendnsUsername | required "DDNS Updater - Expected non-empty [Username] for OpenDNS provider" }}
 password: {{ $item.opendnsPassword | required "DDNS Updater - Expected non-empty [Password] for OpenDNS provider" }}
-provider_ip: {{ $item.opendnsProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       opendnsUsername: username         - Required
       opendnsPassword: password         - Required
-      opendnsProviderIP: false          - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_ovh.tpl

@@ -13,7 +13,6 @@ consumer_key: {{ $item.ovhConsumerKey | required "DDNS Updater - Expected non-em
 {{- else -}}
   {{- fail (printf "DDNS Updater - Expected [Mode] to be one of [Dynamic, API], but got [%v]" $item.ovhMode) -}}
 {{- end }}
-provider_ip: {{ $item.ovhProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -34,5 +33,4 @@ ddnsConfig:
       ovhAppSecret: appSecret           - Required
       ovhConsumerKey: consumerKey       - Required
 
-      ovhProviderIP: false              - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_selfhostde.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 username: {{ $item.selfhostdeUsername | required "DDNS Updater - Expected non-empty [Username] for Selfhost.de provider" | quote }}
 password: {{ $item.selfhostdePassword | required "DDNS Updater - Expected non-empty [Password] for Selfhost.de provider" | quote }}
-provider_ip: {{ $item.selfhostdeProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""                     - Required - Valid values (ipv4/ipv6/"")
       selfhostdeUsername: username      - Required
       selfhostdePassword: password      - Required
-      selfhostdeProviderIP: false       - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_servercow.tpl

@@ -4,7 +4,6 @@
 username: {{ $item.servercowUsername | required "DDNS Updater - Expected non-empty [Username] for Servercow provider" }}
 password: {{ $item.servercowPassword | required "DDNS Updater - Expected non-empty [Password] for Servercow provider" }}
 ttl: {{ $item.servercowTtl | required "DDNS Updater - Expected non-empty [TTL] for Servercow provider" }}
-provider_ip: {{ $item.servercowProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -16,5 +15,4 @@ ddnsConfig:
       servercowUsername: username       - Required
       servercowPassword: password       - Required
       servercowTtl: 120                 - Required
-      servercowProviderIP: false        - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_spdyn.tpl

@@ -9,7 +9,6 @@ password: {{ $item.spdynPassword }}
 {{- else -}}
   {{- fail "DDNS Updater - Spdyn.de provider requires either [Token] or [Username and Password]" -}}
 {{- end }}
-provider_ip: {{ $item.spdynProviderIP | default false }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -18,7 +17,6 @@ ddnsConfig:
       domain: "example.com"     - Required
       host: "@"                 - Required - Valid value ("@")
       ipVersion: ""             - Required - Valid values (ipv4/ipv6/"")
-      spdynProviderIP: false    - Required - Valid values (true/false)
 
       # One of the following is required
       # Token

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_strato.tpl

@@ -2,7 +2,6 @@
 {{- define "ddns.config.strato" -}}
   {{- $item := .item }}
 password: {{ $item.stratoPassword | required "DDNS Updater - Expected non-empty [Password] for Strato provider" }}
-provider_ip: {{ $item.stratoProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -12,5 +11,4 @@ ddnsConfig:
       host: "@"                      - Required - Valid value ("@" or subdomain)
       ipVersion: ""                  - Required - Valid values (ipv4/ipv6/"")
       stratoPassword: password       - Required
-      stratoProviderIP: false        - Required - Valid values (true/false)
 */}}

+ 0 - 2
library/ix-dev/community/ddns-updater/templates/dnsProviders/_variomedia.tpl

@@ -3,7 +3,6 @@
   {{- $item := .item }}
 password: {{ $item.variomediaPassword | required "DDNS Updater - Expected non-empty [Password] for Variomedia provider" }}
 email: {{ $item.variomediaEmail | required "DDNS Updater - Expected non-empty [Email] for Variomedia provider" }}
-provider_ip: {{ $item.variomediaProviderIP }}
 {{- end -}}
 {{/*
 ddnsConfig:
@@ -14,5 +13,4 @@ ddnsConfig:
       ipVersion: ""                  - Required - Valid values (ipv4/ipv6/"")
       variomediaPassword: password   - Required
       variomediaEmail: email         - Required
-      variomediaProviderIP: false    - Required - Valid values (true/false)
 */}}

+ 9 - 5
library/ix-dev/community/ddns-updater/values.yaml

@@ -1,7 +1,7 @@
 image:
   repository: qmcgaw/ddns-updater
   pullPolicy: IfNotPresent
-  tag: v2.7.0
+  tag: v2.8.0
 
 ci: false
 
@@ -21,16 +21,17 @@ ddnsConfig:
     - provider: all
   publicIpHttpProviders:
     - provider: all
-      custom: ''
+      custom: ""
   publicIpv4HttpProviders:
     - provider: all
-      custom: ''
+      custom: ""
   publicIpv6HttpProviders:
     - provider: all
-      custom: ''
+      custom: ""
   publicIpFetchers:
     - provider: all
-  config: []
+  config:
+    []
     # - provider: cloudflare
     #   host: "@"
     #   domain: example.com
@@ -51,3 +52,6 @@ ddnsStorage:
   data:
     type: ixVolume
     datasetName: data
+
+notes:
+  custom: ""