removing all the fail2ban stuff

This commit is contained in:
2026-02-02 21:50:23 +00:00
parent 800d23ac8e
commit b09999a8d0
+11 -7
View File
@@ -23,6 +23,7 @@ spec:
nodeName: kube-master nodeName: kube-master
containers: containers:
- image: nginx:alpine - image: nginx:alpine
#- image: gitea.tryton.geeraert.eu/pi-ux-ce/nginx-geoip2:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: reverse-proxy name: reverse-proxy
ports: ports:
@@ -31,8 +32,6 @@ spec:
- containerPort: 443 - containerPort: 443
name: rp-port-https name: rp-port-https
volumeMounts: volumeMounts:
# - name: reverse-proxy-conf-randomfile
# mountPath: /etc/nginx/conf.d/random.conf
- name: nginx-sites-terraform - name: nginx-sites-terraform
mountPath: /etc/nginx/conf.d/ mountPath: /etc/nginx/conf.d/
- mountPath: /var/log/nginx/ - mountPath: /var/log/nginx/
@@ -41,6 +40,10 @@ spec:
mountPath: /etc/nginx/extra.conf.d/ mountPath: /etc/nginx/extra.conf.d/
- name: deny-ip-terraform - name: deny-ip-terraform
mountPath: /etc/nginx/deny.d/ mountPath: /etc/nginx/deny.d/
- name: blacklisted-sessions-map
mountPath: /etc/nginx/blacklisted.d/
- name: reverse-proxy-geoip
mountPath: /etc/nginx/geoip.d/
- name: reverse-proxy-ssl - name: reverse-proxy-ssl
mountPath: /etc/nginx/ssl/ mountPath: /etc/nginx/ssl/
- mountPath: /etc/nginx/ - mountPath: /etc/nginx/
@@ -60,11 +63,9 @@ spec:
- name: reverse-proxy-ssl - name: reverse-proxy-ssl
hostPath: hostPath:
path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/ path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/
- hostPath: - name: reverse-proxy-geoip
path: /opt/kubernetes/Reverse_proxy_Nginx/random.conf hostPath:
type: File path: /opt/kubernetes/Reverse_proxy_Nginx/geoip
name: reverse-proxy-conf-randomfile
- name: nginx-configfile - name: nginx-configfile
configMap: configMap:
name: nginx-config name: nginx-config
@@ -87,6 +88,9 @@ spec:
- name: secret-htpasswd - name: secret-htpasswd
secret: secret:
secretName: htpasswd secretName: htpasswd
- name: blacklisted-sessions-map
persistentVolumeClaim:
claimName: blacklisted-sessions-map
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service