|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | default 10 }} |
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | default 10 }} |
The default call will interpret 0 as missing and set revision history limit to 10 instead of 0. The default call is not needed, as the helm chart value is already default set to 10 and the kubernetes default is 10. Removing the default call will allow me to set revision history limit to 0 (keeping only the active revision).
perfectscale-io.github.io/charts/perfectscale-agent/templates/deployment.yaml
Line 18 in f677104
perfectscale-io.github.io/charts/perfectscale-agent/templates/cr-manager/deployment.yaml
Line 20 in f677104
The
defaultcall will interpret 0 as missing and set revision history limit to 10 instead of 0. The default call is not needed, as the helm chart value is already default set to 10 and the kubernetes default is 10. Removing the default call will allow me to set revision history limit to 0 (keeping only the active revision).