Skip to content

Commit

Permalink
Merge pull request #4053 from bodgit/fix-revision-history-limit
Browse files Browse the repository at this point in the history
fix: Allow revisionHistoryLimit to be set to 0
  • Loading branch information
k8s-ci-robot committed Dec 12, 2023
2 parents a9199c1 + d1716b9 commit 5a8a9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ spec:
{{- include "external-dns.selectorLabels" . | nindent 6 }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
{{- with .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- if or (kindIs "float64" .Values.revisionHistoryLimit) (kindIs "int64" .Values.revisionHistoryLimit) }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | int64 }}
{{- end }}
template:
metadata:
Expand Down

0 comments on commit 5a8a9f9

Please sign in to comment.