mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
Merge pull request #4053 from bodgit/fix-revision-history-limit
fix: Allow revisionHistoryLimit to be set to 0
This commit is contained in:
commit
5a8a9f914a
@ -16,8 +16,8 @@ spec:
|
|||||||
{{- include "external-dns.selectorLabels" . | nindent 6 }}
|
{{- include "external-dns.selectorLabels" . | nindent 6 }}
|
||||||
strategy:
|
strategy:
|
||||||
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
|
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
|
||||||
{{- with .Values.revisionHistoryLimit }}
|
{{- if or (kindIs "float64" .Values.revisionHistoryLimit) (kindIs "int64" .Values.revisionHistoryLimit) }}
|
||||||
revisionHistoryLimit: {{ . }}
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | int64 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
Loading…
Reference in New Issue
Block a user