-
Notifications
You must be signed in to change notification settings - Fork 36
feat: Support changing revisionHistoryLimit from kubernetes default of 10 #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support changing revisionHistoryLimit from kubernetes default of 10 #364
Conversation
…f 10 Signed-off-by: Rouke Broersma <mobrockers@gmail.com>
Mind bumping the chart version to 0.5.4? |
Of course, I wasn't sure from the contribution guide if I should or not |
Signed-off-by: Rouke Broersma <mobrockers@gmail.com>
Mergecat's ReviewClick to read mergecats review!😼 Mergecat review of charts/kubechecks/Chart.yaml@@ -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 Feedback & Suggestions: The version bump from 😼 Mergecat review of charts/kubechecks/values.yaml@@ -40,6 +40,7 @@ deployment:
memory: 256Mi
cpu: 200m
+ revisionHistoryLimit: 10
replicaCount: 1
image: Feedback & Suggestions:
😼 Mergecat review of charts/kubechecks/values.schema.json@@ -93,6 +93,9 @@
"readinessProbe": {
"type": "object"
},
+ "revisionHistoryLimit": {
+ "type": "integer"
+ },
"replicaCount": {
"type": "integer"
}, Feedback & Suggestions:
😼 Mergecat review of charts/kubechecks/templates/deployment.yaml@@ -7,6 +7,7 @@ metadata:
{{- end}}
labels: {{- include "kubechecks.labels" . | nindent 4 }}
spec:
+ revisionHistoryLimit: {{ .Values.deployment.revisionHistoryLimit }}
replicas: {{ .Values.deployment.replicaCount }}
selector:
matchLabels: Feedback & Suggestions:
Dependency ReviewClick to read mergecats review!No suggestions found |
I bumped the chart to 0.5.4, but since this is a new feature for the chart should it not be 0.6.0? |
When using ArgoCD in a full gitops context, revision history limit clutters the UI with unused ReplicaSets. Allowing configuration of the revision history limit allows users to set this to a different value, such as
0
. With a revision history limit of0
, Kubernetes will auto-remove any ReplicaSet other than the current active ReplicaSet. I have set a default of10
so the change is backwards compatible, this is the Kubernetes default.