Skip to content

Commit

Permalink
feat: Support changing revisionHistoryLimit from kubernetes default o…
Browse files Browse the repository at this point in the history
…f 10 (#364)

Signed-off-by: Rouke Broersma <[email protected]>
  • Loading branch information
rouke-broersma authored Feb 24, 2025
1 parent b62fa30 commit 7c498bb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubechecks/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: kubechecks
description: A Helm chart for kubechecks
version: 0.5.3
version: 0.5.4
type: application
maintainers:
- name: zapier
1 change: 1 addition & 0 deletions charts/kubechecks/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- end}}
labels: {{- include "kubechecks.labels" . | nindent 4 }}
spec:
revisionHistoryLimit: {{ .Values.deployment.revisionHistoryLimit }}
replicas: {{ .Values.deployment.replicaCount }}
selector:
matchLabels:
Expand Down
3 changes: 3 additions & 0 deletions charts/kubechecks/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
"readinessProbe": {
"type": "object"
},
"revisionHistoryLimit": {
"type": "integer"
},
"replicaCount": {
"type": "integer"
},
Expand Down
1 change: 1 addition & 0 deletions charts/kubechecks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ deployment:
memory: 256Mi
cpu: 200m

revisionHistoryLimit: 10
replicaCount: 1

image:
Expand Down

0 comments on commit 7c498bb

Please sign in to comment.