fix(serviceMonitor): support HTTP scheme and tls configuration
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2023-10-02 12:43:39 +02:00
parent f27b94167b
commit 469535d2a8
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,10 @@ spec:
interval: {{ .Values.serviceMonitor.interval }}
path: {{ .Values.serviceMonitor.path }}
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
scheme: {{ .Values.serviceMonitor.scheme }}
targetPort: {{ .Values.service.port }}
tlsConfig:
insecureSkipVerify: {{ .Values.serviceMonitor.tlsConfig.insecureSkipVerify }}
jobLabel: {{ include "prometheus-fail2ban-exporter.fullname" . }}
namespaceSelector:
matchNames:

View File

@ -32,7 +32,6 @@ config: {}
# Alternative listen address instead of 0.0.0.0/0 and ::/0.
# F2B_WEB_LISTEN_ADDRESS: ""
image:
repository: git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter
pullPolicy: Always
@ -99,9 +98,11 @@ serviceMonitor:
annotations: {}
honorLabels: false
interval: 60s
labels: {}
path: /metrics
scheme: http
scrapeTimeout: 30s
tlsConfig:
insecureSkipVerify: false
tolerations: []