This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


The following commit(s) were added to refs/heads/main by this push:
     new d098aec  support revisionhistorylimit (#344)
d098aec is described below

commit d098aeca720f3597890735406bc361110cee3ef2
Author: Ilia Lazebnik <ilia.lazeb...@gmail.com>
AuthorDate: Tue Aug 5 23:51:13 2025 -0400

    support revisionhistorylimit (#344)
    
    Signed-off-by: drfaust92 <ilia.lazeb...@gmail.com>
---
 charts/devlake/templates/deployments.yaml | 2 ++
 charts/devlake/values.yaml                | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/charts/devlake/templates/deployments.yaml 
b/charts/devlake/templates/deployments.yaml
index 903037e..d23bc0e 100644
--- a/charts/devlake/templates/deployments.yaml
+++ b/charts/devlake/templates/deployments.yaml
@@ -27,6 +27,7 @@ metadata:
     {{- end }}
 spec:
   replicas: {{ .Values.ui.replicaCount }}
+  revisionHistoryLimit: {{ .Values.ui.revisionHistoryLimit }}
   {{- with .Values.ui.strategy }}
   strategy:
     {{- toYaml . | nindent 4 }}
@@ -130,6 +131,7 @@ metadata:
   {{- end }}
 spec:
   replicas: {{ if gt (int .Values.lake.replicaCount) 1 }}1{{ else }}{{ 
.Values.lake.replicaCount }}{{ end }}
+  revisionHistoryLimit: {{ .Values.lake.revisionHistoryLimit }}
   {{- with .Values.lake.strategy }}
   strategy:
     {{- toYaml . | nindent 4 }}
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 46a5910..587bc5b 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -177,6 +177,7 @@ grafana:
 
 lake:
   replicaCount: 1
+  revisionHistoryLimit: 10
   image:
     repository: devlake.docker.scarf.sh/apache/devlake
     pullPolicy: Always
@@ -278,6 +279,7 @@ lake:
 
 ui:
   replicaCount: 1
+  revisionHistoryLimit: 10
   image:
     repository: devlake.docker.scarf.sh/apache/devlake-config-ui
     pullPolicy: Always

Reply via email to