Unable to disable version check with (new) `global.checkNewVersion` value
Welcome!
- [x] Yes, I've searched similar issues on GitHub and didn't find any.
- [x] Yes, I've searched similar issues on the Traefik community forum and didn't find any.
What version of the Traefik's Helm Chart are you using?
36.1.0
What version of Traefik are you using?
3.4.1
What did you expect to happen ?
Setting value global.checkNewVersion=false should disable actual check.
What did you notice instead ?
Traefik still performs new version check.
What are your values ?
global:
checkNewVersion: false
Additional Information
Introduced at https://github.com/traefik/traefik-helm-chart/pull/1436, default global.checkNewVersion=true. When flipping this value to false, the chart removes --global.checkNewVersion from list of container args. But according to https://doc.traefik.io/traefik/reference/static-configuration/cli/ --global.checknewversion is true by default, so Traefik still attempts to perform version check.
Thanks for your report! I do agree this would be a fine addition to the chart, to allow for easier setting to false of this flag. A PR to implement this would be very much welcome.
As a workaround, or more precisely the only way this can be achieved and already could be achieved prior to #1436, you can use the following values:
additionalArguments:
- --global.checkNewVersion=false
Ah yes, that's right. We should do like for prometheus boolean in the code.
Hey :) Will this be tackled soon, or should I apply the workaround? Because the same issue appears to apply to sendAnonymousUsage.
Hey, i have submitted https://github.com/traefik/traefik-helm-chart/pull/1489 that should fix this issue
Hey, i have submitted #1489 that should fix this issue
Can you also do this for sendAnonymousUsage, please? :)