From 5adf585947196610eb8014ed9d348ddd175e92c7 Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 23 Dec 2023 21:40:47 +0000 Subject: [PATCH] KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 17 (done automagically via Drone pipeline) --- deploy/fail2ban-exporter.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/deploy/fail2ban-exporter.yaml b/deploy/fail2ban-exporter.yaml index 95b9e6b..4e174f0 100644 --- a/deploy/fail2ban-exporter.yaml +++ b/deploy/fail2ban-exporter.yaml @@ -1,13 +1,14 @@ apiVersion: v1 kind: Namespace metadata: + app.kubernetes.io/instance: fail2ban-prometheus name: fail2ban-prometheus --- apiVersion: v1 kind: ServiceAccount metadata: labels: - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip-service-account namespace: fail2ban-prometheus @@ -16,7 +17,7 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-exporter-service-account namespace: fail2ban-prometheus @@ -26,7 +27,7 @@ kind: Service metadata: labels: app: fail2ban-geoip - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip namespace: fail2ban-prometheus @@ -44,7 +45,7 @@ kind: Service metadata: labels: app: fail2ban-prometheus-exporter - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-exporter namespace: fail2ban-prometheus @@ -64,7 +65,7 @@ kind: Deployment metadata: labels: app: fail2ban-geoip - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-geoip name: fail2ban-geoip namespace: fail2ban-prometheus @@ -77,7 +78,7 @@ spec: metadata: labels: app: fail2ban-geoip - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-geoip spec: affinity: @@ -110,7 +111,7 @@ kind: DaemonSet metadata: labels: app: fail2ban-prometheus-exporter - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-exporter namespace: fail2ban-prometheus @@ -129,7 +130,7 @@ spec: - env: - name: F2B_GEOIP_SERVICE value: fail2ban-geoip - image: yolokube/fail2ban-prometheus-exporter:10 + image: yolokube/fail2ban-prometheus-exporter:11 imagePullPolicy: IfNotPresent name: fail2ban-prometheus-exporter ports: @@ -159,7 +160,7 @@ kind: ServiceMonitor metadata: labels: app: fail2ban-prometheus-exporter - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-prometheus-exporter name: fail2ban-prometheus-servicemonitor namespace: fail2ban-prometheus @@ -179,5 +180,5 @@ spec: jobLabel: jobLabel selector: matchLabels: - app.kubernetes.io/instance: fail2ban + app.kubernetes.io/instance: fail2ban-prometheus app.kubernetes.io/name: fail2ban-prometheus-exporter