From eb52dcc42224668066ff2ab5a1606d9b419447eb Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 23 Dec 2023 21:26:10 +0000 Subject: [PATCH] KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 15 (done automagically via Drone pipeline) --- deploy/fail2ban-exporter.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy/fail2ban-exporter.yaml b/deploy/fail2ban-exporter.yaml index 487cff8..95b9e6b 100644 --- a/deploy/fail2ban-exporter.yaml +++ b/deploy/fail2ban-exporter.yaml @@ -8,7 +8,7 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip-service-account namespace: fail2ban-prometheus --- @@ -17,7 +17,7 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-exporter-service-account namespace: fail2ban-prometheus --- @@ -27,7 +27,7 @@ metadata: labels: app: fail2ban-geoip app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip namespace: fail2ban-prometheus spec: @@ -65,7 +65,7 @@ metadata: labels: app: fail2ban-geoip app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip namespace: fail2ban-prometheus spec: @@ -78,7 +78,7 @@ spec: labels: app: fail2ban-geoip app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-geoip spec: affinity: podAntiAffinity: @@ -123,13 +123,13 @@ spec: labels: app: fail2ban-prometheus-exporter app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-prometheus-exporter spec: containers: - env: - name: F2B_GEOIP_SERVICE value: fail2ban-geoip - image: yolokube/fail2ban-prometheus-exporter:9 + image: yolokube/fail2ban-prometheus-exporter:10 imagePullPolicy: IfNotPresent name: fail2ban-prometheus-exporter ports: @@ -160,7 +160,7 @@ metadata: labels: app: fail2ban-prometheus-exporter app.kubernetes.io/instance: fail2ban - app.kubernetes.io/name: fail2ban + app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-servicemonitor namespace: fail2ban-prometheus spec: