Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit a603d69

Browse files
authored
fix: Include revisionHistoryLimit by if instead of with
1 parent ecb82d2 commit a603d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apigateway/helm/templates/elasticsearch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ spec:
9999
{{ toYaml . | nindent 12 }}
100100
{{- end }}
101101
spec:
102-
{{- with .Values.revisionHistoryLimit }}
103-
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
102+
{{- if .Values.revisionHistoryLimit }}
103+
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
104104
{{- end }}
105105
{{- with .Values.elasticsearch.affinity }}
106106
affinity:

0 commit comments

Comments
 (0)