Skip to content

Commit

Permalink
[prometheus-elasticsearch-exporter] add support for revisionhistoryli…
Browse files Browse the repository at this point in the history
…mit (prometheus-community#4644)

Signed-off-by: drfaust92 <[email protected]>
  • Loading branch information
DrFaust92 authored Jun 29, 2024
1 parent 5b8610d commit 92121ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-elasticsearch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: prometheus-elasticsearch-exporter
version: 5.8.1
version: 5.9.0
kubeVersion: ">=1.10.0-0"
appVersion: "v1.7.0"
home: https://github.com/prometheus-community/elasticsearch_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "elasticsearch-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-elasticsearch-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ global:
##
replicaCount: 1

## Number of old replicasets to retain ##
## The default value is 10, 0 will garbage-collect old replicasets ##
revisionHistoryLimit: 10

## restart policy for all containers
##
restartPolicy: Always
Expand Down

0 comments on commit 92121ec

Please sign in to comment.