Compare commits

..

2 Commits

Author SHA1 Message Date
469535d2a8
fix(serviceMonitor): support HTTP scheme and tls configuration
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 12:43:39 +02:00
f27b94167b
doc: describe serviceMonitor 2023-10-02 12:34:16 +02:00
2 changed files with 8 additions and 2 deletions

View File

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

View File

@ -32,7 +32,6 @@ config: {}
# Alternative listen address instead of 0.0.0.0/0 and ::/0. # Alternative listen address instead of 0.0.0.0/0 and ::/0.
# F2B_WEB_LISTEN_ADDRESS: "" # F2B_WEB_LISTEN_ADDRESS: ""
image: image:
repository: git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter repository: git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter
pullPolicy: Always pullPolicy: Always
@ -92,14 +91,18 @@ service:
type: ClusterIP type: ClusterIP
port: 9191 port: 9191
# Deploy a serviceMonitor to scrape the metrics automatically via prometheus
# operator.
serviceMonitor: serviceMonitor:
enabled: false enabled: false
annotations: {} annotations: {}
honorLabels: false honorLabels: false
interval: 60s interval: 60s
labels: {}
path: /metrics path: /metrics
scheme: http
scrapeTimeout: 30s scrapeTimeout: 30s
tlsConfig:
insecureSkipVerify: false
tolerations: [] tolerations: []