revisionHistoryLimit cannot be set to 0 #1283
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
kind/bug/confirmed
a confirmed bug (reproducible).
Welcome!
What version of the Traefik's Helm Chart are you using?
33.2.1
What version of Traefik are you using?
3.2.2
What did you do?
In values.yaml#L26 the
revisionHistoryLimit
is defined withtype:[integer, null];minimum:0
.In deployment.yaml#L41 the conditional
if .Values.deployment.revisionHistoryLimit
is false, when setting therevisionHistoryLimit
to 0.A workaround would be to use "0" (as string) but the schema does not allow a string in that case. Therefore
revisionHistoryLimit
cannot be set to 0.Another solution could be to remove the if-clause and to define a default instead (e.g. the Kubernetes default of 10).
Relates to helm issue #3164.
What did you see instead?
When setting
revisionHistoryLimit
to 0, the revisionHistoryLimit is not part of the rendered manifest.What is your environment & configuration?
The text was updated successfully, but these errors were encountered: