Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#4053 from bodgit/fix-revision-hist…
Browse files Browse the repository at this point in the history
…ory-limit

fix: Allow revisionHistoryLimit to be set to 0
  • Loading branch information
k8s-ci-robot authored and alitari committed Dec 16, 2023
1 parent 1350ef7 commit 07e41a7
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 07e41a7

Please sign in to comment.