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
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
name: fail2ban-prometheus
|
name: fail2ban-prometheus
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-geoip
|
app.kubernetes.io/name: fail2ban-geoip
|
||||||
name: fail2ban-geoip-service-account
|
name: fail2ban-geoip-service-account
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -16,7 +17,7 @@ apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||||
name: fail2ban-prometheus-exporter-service-account
|
name: fail2ban-prometheus-exporter-service-account
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -26,7 +27,7 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-geoip
|
app: fail2ban-geoip
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-geoip
|
app.kubernetes.io/name: fail2ban-geoip
|
||||||
name: fail2ban-geoip
|
name: fail2ban-geoip
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -44,7 +45,7 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-prometheus-exporter
|
app: fail2ban-prometheus-exporter
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||||
name: fail2ban-prometheus-exporter
|
name: fail2ban-prometheus-exporter
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -64,7 +65,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-geoip
|
app: fail2ban-geoip
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-geoip
|
app.kubernetes.io/name: fail2ban-geoip
|
||||||
name: fail2ban-geoip
|
name: fail2ban-geoip
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -77,7 +78,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-geoip
|
app: fail2ban-geoip
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-geoip
|
app.kubernetes.io/name: fail2ban-geoip
|
||||||
spec:
|
spec:
|
||||||
affinity:
|
affinity:
|
||||||
|
@ -110,7 +111,7 @@ kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-prometheus-exporter
|
app: fail2ban-prometheus-exporter
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||||
name: fail2ban-prometheus-exporter
|
name: fail2ban-prometheus-exporter
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -129,7 +130,7 @@ spec:
|
||||||
- env:
|
- env:
|
||||||
- name: F2B_GEOIP_SERVICE
|
- name: F2B_GEOIP_SERVICE
|
||||||
value: fail2ban-geoip
|
value: fail2ban-geoip
|
||||||
image: yolokube/fail2ban-prometheus-exporter:10
|
image: yolokube/fail2ban-prometheus-exporter:11
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: fail2ban-prometheus-exporter
|
name: fail2ban-prometheus-exporter
|
||||||
ports:
|
ports:
|
||||||
|
@ -159,7 +160,7 @@ kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: fail2ban-prometheus-exporter
|
app: fail2ban-prometheus-exporter
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||||
name: fail2ban-prometheus-servicemonitor
|
name: fail2ban-prometheus-servicemonitor
|
||||||
namespace: fail2ban-prometheus
|
namespace: fail2ban-prometheus
|
||||||
|
@ -179,5 +180,5 @@ spec:
|
||||||
jobLabel: jobLabel
|
jobLabel: jobLabel
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: fail2ban
|
app.kubernetes.io/instance: fail2ban-prometheus
|
||||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||||
|
|
Reference in a new issue