mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 02:16:40 +00:00
feat(chart): add revisionHistoryLimit configuration (#24)
Add a configurable revisionHistoryLimit to the Deployment and set the default to 10.
This commit is contained in:
@@ -8,6 +8,7 @@ spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "casecmp.selectorLabels" . | nindent 6 }}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
image:
|
||||
repository: ghcr.io/jimeh/casecmp
|
||||
|
||||
Reference in New Issue
Block a user