Skip to content

Commit

Permalink
add default value to revisionHistoryLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
mbouillaud committed Mar 8, 2025
1 parent 631f803 commit a39e7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
revisionHistoryLimit: {{ default 5 .Values.controller.revisionHistoryLimit }}
replicas: {{ .Values.controller.replicas }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.webhook.name) | nindent 6 }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
revisionHistoryLimit: {{ default 5 .Values.controller.revisionHistoryLimit }}
replicas: {{ .Values.webhook.replicas }}
template:
metadata:
Expand Down

0 comments on commit a39e7eb

Please sign in to comment.