Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
feat: allow revisionHistoryLimit overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris de Groot authored and morremeyer committed Jul 7, 2023
1 parent a43e232 commit 064f7bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/generic/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ spec:
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ toYaml . }}
{{- end }}
template:
metadata:
{{- if or .Values.podAnnotations .Values.configMap.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions charts/generic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ restartPolicy: Always

deploymentStrategy: {}

# -- The number of old ReplicaSets to retain
revisionHistoryLimit:

initContainers: []

imagePullSecrets: []
Expand Down

0 comments on commit 064f7bf

Please sign in to comment.