KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 27 (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
f041d027a8
commit
9acdae7f15
1 changed files with 10 additions and 1 deletions
|
@ -107,6 +107,15 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
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
|
serviceAccountName: fail2ban-geoip-service-account
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
@ -133,7 +142,7 @@ spec:
|
||||||
- env:
|
- env:
|
||||||
- name: F2B_GEOIP_SERVICE
|
- name: F2B_GEOIP_SERVICE
|
||||||
value: fail2ban-geoip
|
value: fail2ban-geoip
|
||||||
image: yolokube/fail2ban-prometheus-exporter:15
|
image: yolokube/fail2ban-prometheus-exporter:16
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: fail2ban-prometheus-exporter
|
name: fail2ban-prometheus-exporter
|
||||||
ports:
|
ports:
|
||||||
|
|
Reference in a new issue