Skip to content

Commit d098aec

Browse files
authored
support revisionhistorylimit (#344)
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
1 parent d182ebd commit d098aec

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/devlake/templates/deployments.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ metadata:
2727
{{- end }}
2828
spec:
2929
replicas: {{ .Values.ui.replicaCount }}
30+
revisionHistoryLimit: {{ .Values.ui.revisionHistoryLimit }}
3031
{{- with .Values.ui.strategy }}
3132
strategy:
3233
{{- toYaml . | nindent 4 }}
@@ -130,6 +131,7 @@ metadata:
130131
{{- end }}
131132
spec:
132133
replicas: {{ if gt (int .Values.lake.replicaCount) 1 }}1{{ else }}{{ .Values.lake.replicaCount }}{{ end }}
134+
revisionHistoryLimit: {{ .Values.lake.revisionHistoryLimit }}
133135
{{- with .Values.lake.strategy }}
134136
strategy:
135137
{{- toYaml . | nindent 4 }}

charts/devlake/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ grafana:
177177

178178
lake:
179179
replicaCount: 1
180+
revisionHistoryLimit: 10
180181
image:
181182
repository: devlake.docker.scarf.sh/apache/devlake
182183
pullPolicy: Always
@@ -278,6 +279,7 @@ lake:
278279

279280
ui:
280281
replicaCount: 1
282+
revisionHistoryLimit: 10
281283
image:
282284
repository: devlake.docker.scarf.sh/apache/devlake-config-ui
283285
pullPolicy: Always

0 commit comments

Comments
 (0)