TrueChartsClone/charts/stable/ddns-updater/values.yaml

50 lines
1.2 KiB
YAML
Raw Normal View History

image:
chore(repo) change stable charts to the upstream images (#14739) **Description** Update the stable train charts to their direct upstream image. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-11-17 10:22:57 +00:00
repository: qmcgaw/ddns-updater
chore(deps): update container image qmcgaw/ddns-updater to v2.8.0@9103e5c by renovate (#26604) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [qmcgaw/ddns-updater](https://redirect.github.com/qdm12/ddns-updater) | minor | `v2.7.1` -> `v2.8.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>qdm12/ddns-updater (qmcgaw/ddns-updater)</summary> ### [`v2.8.0`](https://redirect.github.com/qdm12/ddns-updater/releases/tag/v2.8.0) [Compare Source](https://redirect.github.com/qdm12/ddns-updater/compare/v2.8.0...v2.8.0) **Pre-built binaries are attached at the bottom of this release notes in the Assets section**. Feel free to 👍 the release! ##### Features - Read both domain ("eTLD+1") and owner (aka *host*) from the `domain` field - retro-compatible change, `host` or `owner` field still work if set - documentation updated to only use the `domain` field - Use umask from operating system to set permissions on created files - `UMASK` option to configure a custom umask value to use ##### Fixes - PublicIP HTTP echo: remove `google` provider which no longer works - Porkbun: - remove trailing '.' from ALIAS delete API call ([#&#8203;775](https://redirect.github.com/qdm12/ddns-updater/issues/775)) - fix wildcard behavior ([#&#8203;773](https://redirect.github.com/qdm12/ddns-updater/issues/773)) - noip: force `useProviderIP` to `false` when using IPv6 - Don Dominio: remove unneeded `name` field - Upgrade github.com/qdm12/gosettings from v0.4.1 to v0.4.4-rc1 - Bump github.com/breml/rootcerts from 0.2.17 to 0.2.18 ([#&#8203;814](https://redirect.github.com/qdm12/ddns-updater/issues/814)) ##### Changes - Deprecate `provider_ip` config field completely - change should not affect any existing configurations - change solves issues with dual stack updates ([#&#8203;767](https://redirect.github.com/qdm12/ddns-updater/issues/767)) - this option was unneeded and added unneeded complexity ##### Documentation - Readme: add instructions to build latest binary - Documentation updated to only use the `domain` field for both the domain and owner/host. - Readme: add `README.md` and `docs/` versioned links for each recent releases - Readme: add AUR package name to features list section - Goip: fix documentation for the `host` parameter field - OVH: link to page to retrieve the `consumer_key` value - Porkbun: fix discrepancy in parameter field names - Readme: remove outdated Kanban Github board link ##### Maintenance ##### Code health - Rename `cmd/updater` to `cmd/ddns-updater` to have binaries named as `ddns-updater` by default - `internal/providers`: - split out settings validation in its own pure function - move domain check to each provider validation function - typo 'agend' fixed to 'agent' in user agent banned error ([#&#8203;790](https://redirect.github.com/qdm12/ddns-updater/issues/790)) - `internal/models`: remove unused `DomainHost` struct - rename `host` to `owner` - Retro-compatible change, `host` field still works - Code updated to use owner variable name - `internal/providers/porkbun`: refactor API code to use a generic `httpPost` function - `internal/persistence/json`: change mutex to be non embedded in Database struct - CI: ignore `duckdns.org` for links check ##### Dependencies - Drop dependency on github.com/chmike/domain - Bump golang.org/x/net from 0.26.0 to 0.29.0 ([#&#8203;806](https://redirect.github.com/qdm12/ddns-updater/issues/806)) - Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 ([#&#8203;802](https://redirect.github.com/qdm12/ddns-updater/issues/802)) - Bump github.com/qdm12/gosplash from 0.1.0 to 0.2.0 ([#&#8203;783](https://redirect.github.com/qdm12/ddns-updater/issues/783)) - Bump github.com/miekg/dns from 1.1.61 to 1.1.62 ([#&#8203;815](https://redirect.github.com/qdm12/ddns-updater/issues/815)) - Bump golang.org/x/mod from 0.18.0 to 0.21.0 ([#&#8203;801](https://redirect.github.com/qdm12/ddns-updater/issues/801)) - Bump github.com/go-chi/chi/v5 from 5.0.12 to 5.1.0 ([#&#8203;755](https://redirect.github.com/qdm12/ddns-updater/issues/755)) - Upgrade temporary build image Alpine from 3.19 to 3.20 - Bump docker/build-push-action from 5 to 6 ([#&#8203;747](https://redirect.github.com/qdm12/ddns-updater/issues/747)) - Bump DavidAnson/markdownlint-cli2-action from 16 to 17 ([#&#8203;811](https://redirect.github.com/qdm12/ddns-updater/issues/811)) ### [`v2.8.0`](https://redirect.github.com/qdm12/ddns-updater/releases/tag/v2.8.0) [Compare Source](https://redirect.github.com/qdm12/ddns-updater/compare/v2.7.1...v2.8.0) **Pre-built binaries are attached at the bottom of this release notes in the Assets section**. Feel free to 👍 the release! ##### Features - Read both domain ("eTLD+1") and owner (aka *host*) from the `domain` field - retro-compatible change, `host` or `owner` field still work if set - documentation updated to only use the `domain` field - Use umask from operating system to set permissions on created files - `UMASK` option to configure a custom umask value to use ##### Fixes - PublicIP HTTP echo: remove `google` provider which no longer works - Porkbun: - remove trailing '.' from ALIAS delete API call ([#&#8203;775](https://redirect.github.com/qdm12/ddns-updater/issues/775)) - fix wildcard behavior ([#&#8203;773](https://redirect.github.com/qdm12/ddns-updater/issues/773)) - noip: force `useProviderIP` to `false` when using IPv6 - Don Dominio: remove unneeded `name` field - Upgrade github.com/qdm12/gosettings from v0.4.1 to v0.4.4-rc1 - Bump github.com/breml/rootcerts from 0.2.17 to 0.2.18 ([#&#8203;814](https://redirect.github.com/qdm12/ddns-updater/issues/814)) ##### Changes - Deprecate `provider_ip` config field completely - change should not affect any existing configurations - change solves issues with dual stack updates ([#&#8203;767](https://redirect.github.com/qdm12/ddns-updater/issues/767)) - this option was unneeded and added unneeded complexity ##### Documentation - Readme: add instructions to build latest binary - Documentation updated to only use the `domain` field for both the domain and owner/host. - Readme: add `README.md` and `docs/` versioned links for each recent releases - Readme: add AUR package name to features list section - Goip: fix documentation for the `host` parameter field - OVH: link to page to retrieve the `consumer_key` value - Porkbun: fix discrepancy in parameter field names - Readme: remove outdated Kanban Github board link ##### Maintenance ##### Code health - Rename `cmd/updater` to `cmd/ddns-updater` to have binaries named as `ddns-updater` by default - `internal/providers`: - split out settings validation in its own pure function - move domain check to each provider validation function - typo 'agend' fixed to 'agent' in user agent banned error ([#&#8203;790](https://redirect.github.com/qdm12/ddns-updater/issues/790)) - `internal/models`: remove unused `DomainHost` struct - rename `host` to `owner` - Retro-compatible change, `host` field still works - Code updated to use owner variable name - `internal/providers/porkbun`: refactor API code to use a generic `httpPost` function - `internal/persistence/json`: change mutex to be non embedded in Database struct - CI: ignore `duckdns.org` for links check ##### Dependencies - Drop dependency on github.com/chmike/domain - Bump golang.org/x/net from 0.26.0 to 0.29.0 ([#&#8203;806](https://redirect.github.com/qdm12/ddns-updater/issues/806)) - Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 ([#&#8203;802](https://redirect.github.com/qdm12/ddns-updater/issues/802)) - Bump github.com/qdm12/gosplash from 0.1.0 to 0.2.0 ([#&#8203;783](https://redirect.github.com/qdm12/ddns-updater/issues/783)) - Bump github.com/miekg/dns from 1.1.61 to 1.1.62 ([#&#8203;815](https://redirect.github.com/qdm12/ddns-updater/issues/815)) - Bump golang.org/x/mod from 0.18.0 to 0.21.0 ([#&#8203;801](https://redirect.github.com/qdm12/ddns-updater/issues/801)) - Bump github.com/go-chi/chi/v5 from 5.0.12 to 5.1.0 ([#&#8203;755](https://redirect.github.com/qdm12/ddns-updater/issues/755)) - Upgrade temporary build image Alpine from 3.19 to 3.20 - Bump docker/build-push-action from 5 to 6 ([#&#8203;747](https://redirect.github.com/qdm12/ddns-updater/issues/747)) - Bump DavidAnson/markdownlint-cli2-action from 16 to 17 ([#&#8203;811](https://redirect.github.com/qdm12/ddns-updater/issues/811)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguODYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJ1cGRhdGUvZG9ja2VyL2dlbmVyYWwvbm9uLW1ham9yIl19-->
2024-09-18 00:45:00 +00:00
tag: v2.8.0@sha256:9103e5cc6662949683bc5516c41f8aea794f708b92855f1c5e22157443586bbd
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10227
feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900) **Description** Part 1 of the migration to new common on the stable train. This basically breaks most/all charts requiring a reinstall on SCALE as well. Helm users shouldn't need a reinstall but could migrate their values.yaml modification manually besides backing-up and porting the databases. There be Dragons basically, as we obviously cannot 100% go over each-and-every single app in the stable train like we did in the enterprise train. **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [x] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Via CI and manually validation in a lot of cases where the CI did not correctly check things. Additional catalog item creation tooling for local testing has been added as well. **📃 Notes:** There will be issues in the future but we should get as much working well as we can. **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2023-04-11 10:07:17 +00:00
protocol: http
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: http
path: /
readiness:
type: http
path: /
startup:
type: http
path: /
env:
chore(deps): update container image qmcgaw/ddns-updater to v2.6.0@e1bc0c8 by renovate (#17946) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [qmcgaw/ddns-updater](https://togithub.com/qdm12/ddns-updater) | minor | `v2.5.0` -> `v2.6.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>qdm12/ddns-updater (qmcgaw/ddns-updater)</summary> ### [`v2.6.0`](https://togithub.com/qdm12/ddns-updater/releases/tag/v2.6.0) [Compare Source](https://togithub.com/qdm12/ddns-updater/compare/v2.6.0...v2.6.0) ##### Features - Support CLI flags 🎏 (equivalent to environment variable names) - Automated **binaries** releasing on GitHub for commonly used platforms - **IPv6**: add JSON parameter `ipv6_suffix` and deprecate `IPV6_PREFIX` (retro-compatible change) ([#&#8203;611](https://togithub.com/qdm12/ddns-updater/issues/611)) - Public IP fetching 📥 - DNS fetching uses DNS over TLS (DoT) only 🔒, `google` removed due to no support for DoT - Ipify support for HTTP "IPv4 or IPv6" fetching - Remove NoIP HTTP option (only plaintext HTTP fetching) - Add Spdyn for HTTP IPv4 or IPv6 fetching - Add ipleak for all HTTP modes - Existing providers features ♻️ - DonDominio: add support for subdomains and wildcard host values - Porkbun: json decode error messages for log messages - **Custom provider** ✏️ - Sends HTTP GET request to url given with ip information - Configurable ipv4 and ipv6 query parameter keys - Configurable response success detection with a regex - Treat non status OK 200 responses as failures - 🆕 Providers - desec ([#&#8203;496](https://togithub.com/qdm12/ddns-updater/issues/496)) - easydns ([#&#8203;480](https://togithub.com/qdm12/ddns-updater/issues/480)) - goip.de ([#&#8203;623](https://togithub.com/qdm12/ddns-updater/issues/623)) - hetzner ([#&#8203;503](https://togithub.com/qdm12/ddns-updater/issues/503)) - ionos - name.com ([#&#8203;474](https://togithub.com/qdm12/ddns-updater/issues/474)) - netcup.de ([#&#8203;361](https://togithub.com/qdm12/ddns-updater/issues/361)) - nowdns ([#&#8203;504](https://togithub.com/qdm12/ddns-updater/issues/504)) - zoneedit.com ([#&#8203;482](https://togithub.com/qdm12/ddns-updater/issues/482)) - Shoutrrr 📢 - Bumped from v0.7.0 to v0.8.0 - Add `SHOUTRRR_DEFAULT_TITLE`, disable `SHOUTRRR_PARAMS` and only add `&title=` parameter to shoutrrr address if it's not set in the address already - [healthchecks.io](https://healthchecks.io) support with configuration option `HEALTH_HEALTHCHECKSIO_UUID` 🩺 - Logging 📜 - Log tree of settings at start - Shoutrrr debug logs - "IPv6 is not supported on this system" logged if all IP fetching tries fail with an IPv6 error - Reduce log spamming: log each IP fetching error at the debug level and log them all at the error level in a single line, if all the fetching tries fail. - `LISTENING_ADDRESS` configuration key ([#&#8203;590](https://togithub.com/qdm12/ddns-updater/issues/590)) to replace `LISTENING_PORT` (retro-compatible change) 👂 - Docker images tags are now with and without the `v` prefix. For example `:v2.6.0` and `:2.6.0` 🤷 - `internal/config`: append `:53` to the resolver address if no port is given - More exact times for state updates, events and ban time checking 🕙 ##### Fixes - Core updating mechanism - Get database events by IP version ([#&#8203;514](https://togithub.com/qdm12/ddns-updater/issues/514)) - Skip update if public IP is not found - Do not save invalid IP if the public IP is not found - Set initial fail status if the public ip fetching failed - Public IP fetching - IPv6: replace bad regex with custom IPv6 extract function, affects allinkl, dnsomatic, google, he and noip - Remove plaintext HTTP option `noip` - over HTTPs: - use address of Cloudflare for "ipv4 or ipv6" - remove opendns option - over DNS: add opendns option - Provider specific fixes - Desec: - default host to "@&#8203;" if empty - allow wildcard hosts - DNSOMatic: - remove username validation regex - treat 'all' host as proxied to reduce updates, and does the IP comparison using the last IP stored in updates.json. - DonDominio: update code to use newer `https://dondns.dondominio.com/json` endpoint - DuckDNS: - send ip address if `"provider_ip": false` - support for IPv6 ([#&#8203;542](https://togithub.com/qdm12/ddns-updater/issues/542)) - Dyn: always give `myip=` parameter, `provider_ip` setting disabled - Dynv6: set url ip field as 'auto' when `"provider_ip": true` ([#&#8203;549](https://togithub.com/qdm12/ddns-updater/issues/549)) - DynDNS: allow wildcard hosts - Gandi: personal access token support ([#&#8203;568](https://togithub.com/qdm12/ddns-updater/issues/568)) - Google: removed since no longer functional - Infomaniak: handle new response prefixes - Inwx: fix success codes detection - Njalla: do not compare ip received when using `"provider_ip": true` - Noip: do not check for received IP when using `"provider_ip": true` - OpenDNS: IP received comparison check fixed - Porkbun: delete ALIAS record before creating an A or AAAA record - Spdyn: validate the host field value even if the token is set - Web UI - Fix the ipinfo.io link for the current ip ([#&#8203;529](https://togithub.com/qdm12/ddns-updater/issues/529)) - Include ip version for all providers ([#&#8203;512](https://togithub.com/qdm12/ddns-updater/issues/512)) - Href link to the favicon fixed - Bump HTTP timeout from 10s to 20s due to slow NoIP servers - Logging: - correct IP version for the "ipv4 no lookup" log line - IPv4 only and IPv6 only debug logging ([#&#8203;513](https://togithub.com/qdm12/ddns-updater/issues/513)) - Creation date set correctly by CI - Settings: - Ignore echo services absent from `PUBLICIP_FETCHERS` - Web UI listening port validation: - Check start of unprivileged ports on Linux - Check if running program has bind capability on Linux ##### Documentation - Readme: - Fix documentation for `SHOUTRRR_DEFAULT_TITLE` - Fix all dead links - Fix shoutrrr bad link ([#&#8203;609](https://togithub.com/qdm12/ddns-updater/issues/609)) - Remove outdated `ddnss` http public ip fetching - Use relative links, now compatible with Docker Hub description sync job - `docs/` directory: - fix all dead links - cloudflare: wildcard hosts are allowed - gcp: fix typo for provider name ([#&#8203;465](https://togithub.com/qdm12/ddns-updater/issues/465)) - dnsomatic: fix settings fields ([#&#8203;463](https://togithub.com/qdm12/ddns-updater/issues/463)) - infomaniak: add missing `username` field in example ([#&#8203;467](https://togithub.com/qdm12/ddns-updater/issues/467)) - opendns: fix bad provider name `dyn` to `opendns` in example ([#&#8203;470](https://togithub.com/qdm12/ddns-updater/issues/470)) - noip: add missing `username` field in example ([#&#8203;469](https://togithub.com/qdm12/ddns-updater/issues/469)) - inwx: - fix bad provider name `opendns` -> `inwx` ([#&#8203;468](https://togithub.com/qdm12/ddns-updater/issues/468)) - remove trail comma in JSON example - add missing `provider_ip` field in examples ([#&#8203;466](https://togithub.com/qdm12/ddns-updater/issues/466)) - add missing `ip_version` parameter for allinkl, name.com, netcup and porkbun - update `ip_version` description for all providers - nowdns: - add missing `ip_version` parameter - remove trail comma in JSON example - Add Kubernetes examples & documentation ([#&#8203;402](https://togithub.com/qdm12/ddns-updater/issues/402)) - Github: - Update all labels - More explicit title requirement in issue templates - Remove automated [@&#8203;qdm12](https://togithub.com/qdm12) assignee - Fix typos ([#&#8203;532](https://togithub.com/qdm12/ddns-updater/issues/532)) ##### Maintenance ##### CI - Add markdown workflow - Remove docker hub description workflow - Build workflow ignores md files for spellcheck - Add goreleaser steps to build and attach binaries on release - Bump linter `golangci-lint` from v1.52.2 to v1.55.2 - Add mocks check step - Force matching Shoutrrr link with go.mod shoutrrr version ([#&#8203;491](https://togithub.com/qdm12/ddns-updater/issues/491)) - Add dependabot configuration - Add build-skip workflow for required workflows - Bump github/codeql-action from 2 to 3 ([#&#8203;583](https://togithub.com/qdm12/ddns-updater/issues/583)) - Bump docker/setup-buildx-action from 2 to 3 ([#&#8203;587](https://togithub.com/qdm12/ddns-updater/issues/587)) - Bump docker/metadata-action from 4 to 5 ([#&#8203;585](https://togithub.com/qdm12/ddns-updater/issues/585)) - Bump docker/build-push-action from 4.0.0 to 5.1.0 ([#&#8203;582](https://togithub.com/qdm12/ddns-updater/issues/582)) ##### Dependencies - Remove dependency on `golang.org/x/net` - Bump breml/rootcerts from v0.2.11 to v0.2.14 - Bump github.com/miekg/dns from v1.1.42 to v1.1.57 - Bump golang.org/x/net from v0.1.0 to v0.17.0 ([#&#8203;540](https://togithub.com/qdm12/ddns-updater/issues/540)) - Bump chi from v1.5.4 to v5.0.11 - Bump Go from 1.20 to 1.21 - Bump Alpine from 3.18 to 3.19 - Bump google.golang.org/grpc from 1.50.1 to 1.56.3 ([#&#8203;552](https://togithub.com/qdm12/ddns-updater/issues/552)) - Bump github.com/stretchr/testify from v1.8.1 to v1.8.4 - Bump golang.org/x/mod from v0.12.0 to v0.14.0 ##### Code - Dockerfile: - Remove outdated `SHOUTRRR_DEFAULT_TITLE` - Add `HEALTH_SERVER_ADDRESS=127.0.0.1:9999` - Migrate from `net.IP*` to `net/netip.Addr` and `net/netip.Prefix` - Drop `github.com/qdm12/golibs` dependency - `internal/persistence/json`: drop dependency on golibs - `pkg/publicip/info`: remove dependency on golibs - `cmd/updater`: replace golibs/connectivity with `internal/health`'s `CheckHTTP` function - `internal/settings`: remove dependency on `qdm12/golibs/verification` - Configuration reading reworked to use `qdm12/gosettings@v0.4.0-rc9` - `pkg/publicip/dns`: set dial timeout as the value of the parent fetcher timeout - Namecheap: make code only IPv4 compatible - Servercow: use injected domain instead of re-decoding it from JSON - `internal/update`: - simplify shouldUpdateRecord functions `shouldUpdateRecordNoLookup` and `shouldUpdateRecordWithLookup` - simplify log calls - rename run.go to service.go - `persistence/json`: - simplify `StoreNewIP` method - improve data check error messages - `internal/data`: remove unused `GetEvents` method - `internal/models`: remove unneeded `HTML` string alias type - OVH: remove unneeded sentinel errors - `internal/provider/providers`: - replace ip nil check with `useProviderIP` check (affects duckdns, infomaniak and namecheap) - review HTTP headers: add missing header(s), remove unneeded headers - review error wrappings for `client.Do` and wrap using string `doing http request` - review error wrappings for validation errors - Use `errors.BadRequest` for `badrequest` responses only - Change HTTP request creation error wrappings to be a string only - Add missing HTTP request creation error wrappings - remove intermediary errors and wrap them with strings instead of other sentinel errors - `internal/provider/errors`: review update errors and wrappings - `ErrBadHTTPStatus` -> `ErrHTTPStatusNotValid` - `ErrNumberOfResultsReceived` -> `ErrResultsCountReceived` - `ErrNoResultReceived` -> `ErrReceivedNoResult` - `ErrAbuse` -> `ErrBannedAbuse` - `ErrInvalidSystemParam` -> `ErrSystemParamNotValid` - `ErrNoIPInResponse` -> `ErrReceivedNoIP` - `ErrUnsuccessfulResponse` -> `ErrUnsuccessful` - Remove `ErrRequestEncode` and `ErrRequestMarshal` and wrap errors with string instead - Remove `ErrUnmarshalResponse` and wrap errors with string instead - Add `ErrResponseTooShort` - Remove `ErrNotFound` and replace with more precise not found errors - Add `ErrRecordResourceSetNotFound` error - Sort errors list alphabetically - Change `Empty` -> `NotSet` - Change `Malformed` -> `NotValid` - `internal/shoutrrr` new package - .gitignore: fix `/data` path Note: re-released as v2.6.0 to have permissions fixed for goreleaser to work ([`c338c28`](https://togithub.com/qdm12/ddns-updater/commit/c338c28ce3ab3aa9948f0fe133307b75fe6d34d2)) ### [`v2.6.0`](https://togithub.com/qdm12/ddns-updater/releases/tag/v2.6.0) [Compare Source](https://togithub.com/qdm12/ddns-updater/compare/v2.5.0...v2.6.0) ##### Features - Support CLI flags 🎏 (equivalent to environment variable names) - Automated **binaries** releasing on GitHub for commonly used platforms - **IPv6**: add JSON parameter `ipv6_suffix` and deprecate `IPV6_PREFIX` (retro-compatible change) ([#&#8203;611](https://togithub.com/qdm12/ddns-updater/issues/611)) - Public IP fetching 📥 - DNS fetching uses DNS over TLS (DoT) only 🔒, `google` removed due to no support for DoT - Ipify support for HTTP "IPv4 or IPv6" fetching - Remove NoIP HTTP option (only plaintext HTTP fetching) - Add Spdyn for HTTP IPv4 or IPv6 fetching - Add ipleak for all HTTP modes - Existing providers features ♻️ - DonDominio: add support for subdomains and wildcard host values - Porkbun: json decode error messages for log messages - **Custom provider** ✏️ - Sends HTTP GET request to url given with ip information - Configurable ipv4 and ipv6 query parameter keys - Configurable response success detection with a regex - Treat non status OK 200 responses as failures - 🆕 Providers - desec ([#&#8203;496](https://togithub.com/qdm12/ddns-updater/issues/496)) - easydns ([#&#8203;480](https://togithub.com/qdm12/ddns-updater/issues/480)) - goip.de ([#&#8203;623](https://togithub.com/qdm12/ddns-updater/issues/623)) - hetzner ([#&#8203;503](https://togithub.com/qdm12/ddns-updater/issues/503)) - ionos - name.com ([#&#8203;474](https://togithub.com/qdm12/ddns-updater/issues/474)) - netcup.de ([#&#8203;361](https://togithub.com/qdm12/ddns-updater/issues/361)) - nowdns ([#&#8203;504](https://togithub.com/qdm12/ddns-updater/issues/504)) - zoneedit.com ([#&#8203;482](https://togithub.com/qdm12/ddns-updater/issues/482)) - Shoutrrr 📢 - Bumped from v0.7.0 to v0.8.0 - Add `SHOUTRRR_DEFAULT_TITLE`, disable `SHOUTRRR_PARAMS` and only add `&title=` parameter to shoutrrr address if it's not set in the address already - [healthchecks.io](https://healthchecks.io) support with configuration option `HEALTH_HEALTHCHECKSIO_UUID` 🩺 - Logging 📜 - Log tree of settings at start - Shoutrrr debug logs - "IPv6 is not supported on this system" logged if all IP fetching tries fail with an IPv6 error - Reduce log spamming: log each IP fetching error at the debug level and log them all at the error level in a single line, if all the fetching tries fail. - `LISTENING_ADDRESS` configuration key ([#&#8203;590](https://togithub.com/qdm12/ddns-updater/issues/590)) to replace `LISTENING_PORT` (retro-compatible change) 👂 - Docker images tags are now with and without the `v` prefix. For example `:v2.6.0` and `:2.6.0` 🤷 - `internal/config`: append `:53` to the resolver address if no port is given - More exact times for state updates, events and ban time checking 🕙 ##### Fixes - Core updating mechanism - Get database events by IP version ([#&#8203;514](https://togithub.com/qdm12/ddns-updater/issues/514)) - Skip update if public IP is not found - Do not save invalid IP if the public IP is not found - Set initial fail status if the public ip fetching failed - Public IP fetching - IPv6: replace bad regex with custom IPv6 extract function, affects allinkl, dnsomatic, google, he and noip - Remove plaintext HTTP option `noip` - over HTTPs: - use address of Cloudflare for "ipv4 or ipv6" - remove opendns option - over DNS: add opendns option - Provider specific fixes - Desec: - default host to "@&#8203;" if empty - allow wildcard hosts - DNSOMatic: - remove username validation regex - treat 'all' host as proxied to reduce updates, and does the IP comparison using the last IP stored in updates.json. - DonDominio: update code to use newer `https://dondns.dondominio.com/json` endpoint - DuckDNS: - send ip address if `"provider_ip": false` - support for IPv6 ([#&#8203;542](https://togithub.com/qdm12/ddns-updater/issues/542)) - Dyn: always give `myip=` parameter, `provider_ip` setting disabled - Dynv6: set url ip field as 'auto' when `"provider_ip": true` ([#&#8203;549](https://togithub.com/qdm12/ddns-updater/issues/549)) - DynDNS: allow wildcard hosts - Gandi: personal access token support ([#&#8203;568](https://togithub.com/qdm12/ddns-updater/issues/568)) - Google: removed since no longer functional - Infomaniak: handle new response prefixes - Inwx: fix success codes detection - Njalla: do not compare ip received when using `"provider_ip": true` - Noip: do not check for received IP when using `"provider_ip": true` - OpenDNS: IP received comparison check fixed - Porkbun: delete ALIAS record before creating an A or AAAA record - Spdyn: validate the host field value even if the token is set - Web UI - Fix the ipinfo.io link for the current ip ([#&#8203;529](https://togithub.com/qdm12/ddns-updater/issues/529)) - Include ip version for all providers ([#&#8203;512](https://togithub.com/qdm12/ddns-updater/issues/512)) - Href link to the favicon fixed - Bump HTTP timeout from 10s to 20s due to slow NoIP servers - Logging: - correct IP version for the "ipv4 no lookup" log line - IPv4 only and IPv6 only debug logging ([#&#8203;513](https://togithub.com/qdm12/ddns-updater/issues/513)) - Creation date set correctly by CI - Settings: - Ignore echo services absent from `PUBLICIP_FETCHERS` - Web UI listening port validation: - Check start of unprivileged ports on Linux - Check if running program has bind capability on Linux ##### Documentation - Readme: - Fix documentation for `SHOUTRRR_DEFAULT_TITLE` - Fix all dead links - Fix shoutrrr bad link ([#&#8203;609](https://togithub.com/qdm12/ddns-updater/issues/609)) - Remove outdated `ddnss` http public ip fetching - Use relative links, now compatible with Docker Hub description sync job - `docs/` directory: - fix all dead links - cloudflare: wildcard hosts are allowed - gcp: fix typo for provider name ([#&#8203;465](https://togithub.com/qdm12/ddns-updater/issues/465)) - dnsomatic: fix settings fields ([#&#8203;463](https://togithub.com/qdm12/ddns-updater/issues/463)) - infomaniak: add missing `username` field in example ([#&#8203;467](https://togithub.com/qdm12/ddns-updater/issues/467)) - opendns: fix bad provider name `dyn` to `opendns` in example ([#&#8203;470](https://togithub.com/qdm12/ddns-updater/issues/470)) - noip: add missing `username` field in example ([#&#8203;469](https://togithub.com/qdm12/ddns-updater/issues/469)) - inwx: - fix bad provider name `opendns` -> `inwx` ([#&#8203;468](https://togithub.com/qdm12/ddns-updater/issues/468)) - remove trail comma in JSON example - add missing `provider_ip` field in examples ([#&#8203;466](https://togithub.com/qdm12/ddns-updater/issues/466)) - add missing `ip_version` parameter for allinkl, name.com, netcup and porkbun - update `ip_version` description for all providers - nowdns: - add missing `ip_version` parameter - remove trail comma in JSON example - Add Kubernetes examples & documentation ([#&#8203;402](https://togithub.com/qdm12/ddns-updater/issues/402)) - Github: - Update all labels - More explicit title requirement in issue templates - Remove automated [@&#8203;qdm12](https://togithub.com/qdm12) assignee - Fix typos ([#&#8203;532](https://togithub.com/qdm12/ddns-updater/issues/532)) ##### Maintenance ##### CI - Add markdown workflow - Remove docker hub description workflow - Build workflow ignores md files for spellcheck - Add goreleaser steps to build and attach binaries on release - Bump linter `golangci-lint` from v1.52.2 to v1.55.2 - Add mocks check step - Force matching Shoutrrr link with go.mod shoutrrr version ([#&#8203;491](https://togithub.com/qdm12/ddns-updater/issues/491)) - Add dependabot configuration - Add build-skip workflow for required workflows - Bump github/codeql-action from 2 to 3 ([#&#8203;583](https://togithub.com/qdm12/ddns-updater/issues/583)) - Bump docker/setup-buildx-action from 2 to 3 ([#&#8203;587](https://togithub.com/qdm12/ddns-updater/issues/587)) - Bump docker/metadata-action from 4 to 5 ([#&#8203;585](https://togithub.com/qdm12/ddns-updater/issues/585)) - Bump docker/build-push-action from 4.0.0 to 5.1.0 ([#&#8203;582](https://togithub.com/qdm12/ddns-updater/issues/582)) ##### Dependencies - Remove dependency on `golang.org/x/net` - Bump breml/rootcerts from v0.2.11 to v0.2.14 - Bump github.com/miekg/dns from v1.1.42 to v1.1.57 - Bump golang.org/x/net from v0.1.0 to v0.17.0 ([#&#8203;540](https://togithub.com/qdm12/ddns-updater/issues/540)) - Bump chi from v1.5.4 to v5.0.11 - Bump Go from 1.20 to 1.21 - Bump Alpine from 3.18 to 3.19 - Bump google.golang.org/grpc from 1.50.1 to 1.56.3 ([#&#8203;552](https://togithub.com/qdm12/ddns-updater/issues/552)) - Bump github.com/stretchr/testify from v1.8.1 to v1.8.4 - Bump golang.org/x/mod from v0.12.0 to v0.14.0 ##### Code - Dockerfile: - Remove outdated `SHOUTRRR_DEFAULT_TITLE` - Add `HEALTH_SERVER_ADDRESS=127.0.0.1:9999` - Migrate from `net.IP*` to `net/netip.Addr` and `net/netip.Prefix` - Drop `github.com/qdm12/golibs` dependency - `internal/persistence/json`: drop dependency on golibs - `pkg/publicip/info`: remove dependency on golibs - `cmd/updater`: replace golibs/connectivity with `internal/health`'s `CheckHTTP` function - `internal/settings`: remove dependency on `qdm12/golibs/verification` - Configuration reading reworked to use `qdm12/gosettings@v0.4.0-rc9` - `pkg/publicip/dns`: set dial timeout as the value of the parent fetcher timeout - Namecheap: make code only IPv4 compatible - Servercow: use injected domain instead of re-decoding it from JSON - `internal/update`: - simplify shouldUpdateRecord functions `shouldUpdateRecordNoLookup` and `shouldUpdateRecordWithLookup` - simplify log calls - rename run.go to service.go - `persistence/json`: - simplify `StoreNewIP` method - improve data check error messages - `internal/data`: remove unused `GetEvents` method - `internal/models`: remove unneeded `HTML` string alias type - OVH: remove unneeded sentinel errors - `internal/provider/providers`: - replace ip nil check with `useProviderIP` check (affects duckdns, infomaniak and namecheap) - review HTTP headers: add missing header(s), remove unneeded headers - review error wrappings for `client.Do` and wrap using string `doing http request` - review error wrappings for validation errors - Use `errors.BadRequest` for `badrequest` responses only - Change HTTP request creation error wrappings to be a string only - Add missing HTTP request creation error wrappings - remove intermediary errors and wrap them with strings instead of other sentinel errors - `internal/provider/errors`: review update errors and wrappings - `ErrBadHTTPStatus` -> `ErrHTTPStatusNotValid` - `ErrNumberOfResultsReceived` -> `ErrResultsCountReceived` - `ErrNoResultReceived` -> `ErrReceivedNoResult` - `ErrAbuse` -> `ErrBannedAbuse` - `ErrInvalidSystemParam` -> `ErrSystemParamNotValid` - `ErrNoIPInResponse` -> `ErrReceivedNoIP` - `ErrUnsuccessfulResponse` -> `ErrUnsuccessful` - Remove `ErrRequestEncode` and `ErrRequestMarshal` and wrap errors with string instead - Remove `ErrUnmarshalResponse` and wrap errors with string instead - Add `ErrResponseTooShort` - Remove `ErrNotFound` and replace with more precise not found errors - Add `ErrRecordResourceSetNotFound` error - Sort errors list alphabetically - Change `Empty` -> `NotSet` - Change `Malformed` -> `NotValid` - `internal/shoutrrr` new package - .gitignore: fix `/data` path Note: re-released as v2.6.0 to have permissions fixed for goreleaser to work ([`c338c28`](https://togithub.com/qdm12/ddns-updater/commit/c338c28ce3ab3aa9948f0fe133307b75fe6d34d2)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzIuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI0OS4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> --------- Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2024-05-05 13:37:21 +00:00
LISTENING_ADDRESS: ":{{ .Values.service.main.ports.main.port }}"
feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900) **Description** Part 1 of the migration to new common on the stable train. This basically breaks most/all charts requiring a reinstall on SCALE as well. Helm users shouldn't need a reinstall but could migrate their values.yaml modification manually besides backing-up and porting the databases. There be Dragons basically, as we obviously cannot 100% go over each-and-every single app in the stable train like we did in the enterprise train. **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [x] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Via CI and manually validation in a lot of cases where the CI did not correctly check things. Additional catalog item creation tooling for local testing has been added as well. **📃 Notes:** There will be issues in the future but we should get as much working well as we can. **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2023-04-11 10:07:17 +00:00
CONFIG: ""
PERIOD: "5m"
IPV6_PREFIX: "/128"
PUBLICIP_FETCHERS: "all"
PUBLICIP_HTTP_PROVIDERS: "all"
PUBLICIPV4_HTTP_PROVIDERS: "all"
PUBLICIPV6_HTTP_PROVIDERS: "all"
PUBLICIP_DNS_PROVIDERS: "all"
PUBLICIP_DNS_TIMEOUT: "3s"
UPDATE_COOLDOWN_PERIOD: "5m"
HTTP_TIMEOUT: "10s"
BACKUP_PERIOD: "0"
LOG_LEVEL: "info"
LOG_CALLER: "hidden"
SHOUTRRR_ADDRESSES: ""
persistence:
data:
enabled: true
feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900) **Description** Part 1 of the migration to new common on the stable train. This basically breaks most/all charts requiring a reinstall on SCALE as well. Helm users shouldn't need a reinstall but could migrate their values.yaml modification manually besides backing-up and porting the databases. There be Dragons basically, as we obviously cannot 100% go over each-and-every single app in the stable train like we did in the enterprise train. **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [x] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Via CI and manually validation in a lot of cases where the CI did not correctly check things. Additional catalog item creation tooling for local testing has been added as well. **📃 Notes:** There will be issues in the future but we should get as much working well as we can. **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2023-04-11 10:07:17 +00:00
mountPath: /updater/data
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
portal:
feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900) **Description** Part 1 of the migration to new common on the stable train. This basically breaks most/all charts requiring a reinstall on SCALE as well. Helm users shouldn't need a reinstall but could migrate their values.yaml modification manually besides backing-up and porting the databases. There be Dragons basically, as we obviously cannot 100% go over each-and-every single app in the stable train like we did in the enterprise train. **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [x] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Via CI and manually validation in a lot of cases where the CI did not correctly check things. Additional catalog item creation tooling for local testing has been added as well. **📃 Notes:** There will be issues in the future but we should get as much working well as we can. **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2023-04-11 10:07:17 +00:00
open:
enabled: true