Skip to content

Commit ba04297

Browse files
promtheus-adapter: add configurable revisonHistoryLimit to deployment (#6202)
Signed-off-by: himanshu <[email protected]>
1 parent 0d5e607 commit ba04297

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/prometheus-adapter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: prometheus-adapter
3-
version: 5.1.0
3+
version: 5.2.0
44
appVersion: v0.12.0
55
description: A Helm chart for k8s prometheus adapter
66
home: https://github.com/kubernetes-sigs/prometheus-adapter

charts/prometheus-adapter/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ metadata:
1616
namespace: {{ include "k8s-prometheus-adapter.namespace" . }}
1717
spec:
1818
replicas: {{ .Values.replicas }}
19+
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
1920
strategy: {{ toYaml .Values.strategy | nindent 4 }}
2021
selector:
2122
matchLabels:

charts/prometheus-adapter/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,3 +305,6 @@ extraManifests: []
305305
# name: prometheus-extra
306306
# data:
307307
# extra-data: "value"
308+
309+
# Optional: set revisionHistoryLimit for the Deployment
310+
revisionHistoryLimit: 10

0 commit comments

Comments
 (0)