Skip to content

Commit

Permalink
Merge pull request #502 from kinvolk/knrt10/revision-history-limit
Browse files Browse the repository at this point in the history
Add field revisionHistoryLimit to deployment
  • Loading branch information
joaquimrocha authored Nov 4, 2021
2 parents ba74b5e + 469b52c commit 355487d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nebraska/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sources:
maintainers:
- name: kinvolk
url: https://kinvolk.io/
version: 0.1.8
version: 0.1.9
appVersion: "2.5.1"

dependencies:
Expand Down
1 change: 1 addition & 0 deletions charts/nebraska/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
{{- include "nebraska.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
strategy:
{{- toYaml .Values.strategy | nindent 4 }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/nebraska/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Declare variables to be passed into your templates.

replicaCount: 1
revisionHistoryLimit: 5

image:
registry: ghcr.io
Expand Down

0 comments on commit 355487d

Please sign in to comment.