KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 17 (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
cee12a4679
commit
5adf585947
1 changed files with 11 additions and 10 deletions
|
@ -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
|
||||
|
|
Reference in a new issue