Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 11.8.0
version: 11.8.1
# renovate: github=prometheus/blackbox_exporter
appVersion: v0.28.0
kubeVersion: ">=1.21.0-0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.serviceMonitor.selfMonitor.enabled }}
---
apiVersion: monitoring.coreos.com/v1
apiVersion: {{ .Values.serviceMonitor.apiVersion }}
kind: ServiceMonitor
metadata:
name: {{ template "prometheus-blackbox-exporter.fullname" $ }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.serviceMonitor.enabled }}
{{- range .Values.serviceMonitor.targets }}
---
apiVersion: monitoring.coreos.com/v1
apiVersion: {{ $.Values.serviceMonitor.apiVersion }}
kind: ServiceMonitor
metadata:
name: {{ template "prometheus-blackbox-exporter.fullname" $ }}-{{ .name }}
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 @@ -278,6 +278,10 @@ extraArgs: []
replicas: 1

serviceMonitor:
## apiVersion to use for ServiceMonitor resources.
##
apiVersion: monitoring.coreos.com/v1

## If true, a ServiceMonitor CRD is created for a prometheus operator
## https://github.com/coreos/prometheus-operator for blackbox-exporter itself
##
Expand Down