diff --git a/templates/serviceMonitor.yaml b/templates/serviceMonitor.yaml index 2d8b338..6252c99 100644 --- a/templates/serviceMonitor.yaml +++ b/templates/serviceMonitor.yaml @@ -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: diff --git a/values.yaml b/values.yaml index 78d6853..9c043c0 100644 --- a/values.yaml +++ b/values.yaml @@ -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: []