KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 6 (done automagically via Drone pipeline)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
46e898a9ee
commit
718fe8219d
1 changed files with 2 additions and 6 deletions
|
@ -96,15 +96,13 @@ spec:
|
||||||
- env:
|
- env:
|
||||||
- name: GEOIP_LISTEN_ADDRESS
|
- name: GEOIP_LISTEN_ADDRESS
|
||||||
value: :8080
|
value: :8080
|
||||||
image: registry.neuber.io/country-geo-locations:latest
|
image: yolokube/country-geo-locations:6
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: fail2ban-geoip
|
name: fail2ban-geoip
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
imagePullSecrets:
|
|
||||||
- name: tom-regcred
|
|
||||||
serviceAccountName: fail2ban-geoip-service-account
|
serviceAccountName: fail2ban-geoip-service-account
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
@ -131,7 +129,7 @@ spec:
|
||||||
- env:
|
- env:
|
||||||
- name: F2B_GEOIP_SERVICE
|
- name: F2B_GEOIP_SERVICE
|
||||||
value: fail2ban-geoip
|
value: fail2ban-geoip
|
||||||
image: registry.neuber.io/fail2ban-prometheus-exporter:latest
|
image: yolokube/fail2ban-prometheus-exporter:4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: fail2ban-prometheus-exporter
|
name: fail2ban-prometheus-exporter
|
||||||
ports:
|
ports:
|
||||||
|
@ -142,8 +140,6 @@ spec:
|
||||||
- mountPath: /var/run/fail2ban/fail2ban.sock
|
- mountPath: /var/run/fail2ban/fail2ban.sock
|
||||||
name: fail2ban
|
name: fail2ban
|
||||||
readOnly: true
|
readOnly: true
|
||||||
imagePullSecrets:
|
|
||||||
- name: tom-regcred
|
|
||||||
serviceAccountName: fail2ban-prometheus-exporter-service-account
|
serviceAccountName: fail2ban-prometheus-exporter-service-account
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
|
|
Reference in a new issue