From 9acdae7f15242dd9b0e76b85743dce572334cd03 Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 23 Dec 2023 23:58:00 +0000 Subject: [PATCH] KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 27 (done automagically via Drone pipeline) --- deploy/fail2ban-exporter.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/deploy/fail2ban-exporter.yaml b/deploy/fail2ban-exporter.yaml index 7c90635..3804a86 100644 --- a/deploy/fail2ban-exporter.yaml +++ b/deploy/fail2ban-exporter.yaml @@ -107,6 +107,15 @@ spec: - containerPort: 8080 name: http protocol: TCP + readinessProbe: + httpGet: + httpHeaders: + - name: Accept + value: application/json + path: /api/v1/1.1.1.1 + port: http + initialDelaySeconds: 3 + periodSeconds: 2 serviceAccountName: fail2ban-geoip-service-account --- apiVersion: apps/v1 @@ -133,7 +142,7 @@ spec: - env: - name: F2B_GEOIP_SERVICE value: fail2ban-geoip - image: yolokube/fail2ban-prometheus-exporter:15 + image: yolokube/fail2ban-prometheus-exporter:16 imagePullPolicy: IfNotPresent name: fail2ban-prometheus-exporter ports: