Skip to content

Commit

Permalink
[prometheus-blackbox-exporter] feat: add revisionHistoryLimit as a va…
Browse files Browse the repository at this point in the history
…lue to blackbox-exporter helmchart (#5250)

* feat: add revisionHistoryLimit as a value to blackbox-exporter helmchart

Signed-off-by: Carsten Sonyi <carsten.sonyi@yahoo.de>

* docs: add context to value revisionHistoryLimit

Signed-off-by: Carsten Sonyi <carsten.sonyi@yahoo.de>

* feat: bump chart version

Signed-off-by: Carsten Sonyi <carsten.sonyi@yahoo.de>

---------

Signed-off-by: Carsten Sonyi <carsten.sonyi@yahoo.de>
  • Loading branch information
CarstenSon authored Jan 31, 2025
1 parent ac6165c commit 3eb061f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-blackbox-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Prometheus Blackbox Exporter
name: prometheus-blackbox-exporter
version: 9.1.0
version: 9.2.0
appVersion: v0.25.0
kubeVersion: ">=1.21.0-0"
home: https://github.com/prometheus/blackbox_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicas }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-blackbox-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-blackbox-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ extraContainers: []
# - mountPath: /etc/prometheus/secrets/blackbox-tls
# name: secret-blackbox-tls

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

# String mode
# extraContainers: |-
# - name: oAuth2-proxy
Expand Down

0 comments on commit 3eb061f

Please sign in to comment.