feat(chart): add revisionHistoryLimit configuration (#24)

Add a configurable revisionHistoryLimit to the Deployment and set the
default to 10.
This commit is contained in:
2025-04-22 10:51:09 +01:00
committed by GitHub
parent 27554f2a04
commit 37968b6d71
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "casecmp.selectorLabels" . | nindent 6 }}

View File

@@ -3,6 +3,7 @@
# Declare variables to be passed into your templates.
replicaCount: 1
revisionHistoryLimit: 10
image:
repository: ghcr.io/jimeh/casecmp