traefik-helm-chart icon indicating copy to clipboard operation
traefik-helm-chart copied to clipboard

Unable to disable version check with (new) `global.checkNewVersion` value

Open z0rc opened this issue 6 months ago • 2 comments

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.

z0rc avatar Jun 11 '25 14:06 z0rc

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

jnoordsij avatar Jun 12 '25 07:06 jnoordsij

Ah yes, that's right. We should do like for prometheus boolean in the code.

mloiseleur avatar Jun 13 '25 11:06 mloiseleur

Hey :) Will this be tackled soon, or should I apply the workaround? Because the same issue appears to apply to sendAnonymousUsage.

georglauterbach avatar Jul 01 '25 21:07 georglauterbach

Hey, i have submitted https://github.com/traefik/traefik-helm-chart/pull/1489 that should fix this issue

KyriosGN0 avatar Jul 29 '25 20:07 KyriosGN0

Hey, i have submitted #1489 that should fix this issue

Can you also do this for sendAnonymousUsage, please? :)

georglauterbach avatar Jul 30 '25 16:07 georglauterbach