Skip to content

Commit

Permalink
feat(helm): add revisionHistoryLimit params (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
PLeS207 authored May 27, 2024
1 parent 21d360f commit 2387557
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions helm/akhq/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
replicas: {{ .Values.replicaCount | default 1 }}
selector:
matchLabels:
Expand Down
3 changes: 2 additions & 1 deletion helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
image:
repository: tchiotludo/akhq
tag: "" # uses Chart.AppVersion by default

# Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
revisionHistoryLimit: 10
# custom annotations (example: for prometheus)
annotations: {}
#prometheus.io/scrape: 'true'
Expand Down

0 comments on commit 2387557

Please sign in to comment.