mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 10:26: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 }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "casecmp.selectorLabels" . | nindent 6 }}
|
{{- include "casecmp.selectorLabels" . | nindent 6 }}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
revisionHistoryLimit: 10
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/jimeh/casecmp
|
repository: ghcr.io/jimeh/casecmp
|
||||||
|
|||||||
Reference in New Issue
Block a user