KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 74 (done automagically via Drone pipeline)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-02-07 00:11:32 +00:00
parent 898eee845b
commit 37cc50da5f

View file

@ -116,6 +116,13 @@ spec:
port: http port: http
initialDelaySeconds: 3 initialDelaySeconds: 3
periodSeconds: 2 periodSeconds: 2
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 250m
memory: 64Mi
serviceAccountName: fail2ban-geoip-service-account serviceAccountName: fail2ban-geoip-service-account
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
@ -142,13 +149,20 @@ spec:
- env: - env:
- name: F2B_GEOIP_SERVICE - name: F2B_GEOIP_SERVICE
value: fail2ban-geoip value: fail2ban-geoip
image: git.ar21.de/yolokube/fail2ban-prometheus-exporter:39 image: git.ar21.de/yolokube/fail2ban-prometheus-exporter:43
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: fail2ban-prometheus-exporter name: fail2ban-prometheus-exporter
ports: ports:
- containerPort: 9191 - containerPort: 9191
name: http-metrics name: http-metrics
protocol: TCP protocol: TCP
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 250m
memory: 64Mi
volumeMounts: volumeMounts:
- mountPath: /var/run/fail2ban/fail2ban.sock - mountPath: /var/run/fail2ban/fail2ban.sock
name: fail2ban name: fail2ban