removing all the fail2ban stuff
This commit is contained in:
+11
-7
@@ -23,6 +23,7 @@ spec:
|
||||
nodeName: kube-master
|
||||
containers:
|
||||
- image: nginx:alpine
|
||||
#- image: gitea.tryton.geeraert.eu/pi-ux-ce/nginx-geoip2:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: reverse-proxy
|
||||
ports:
|
||||
@@ -31,8 +32,6 @@ spec:
|
||||
- containerPort: 443
|
||||
name: rp-port-https
|
||||
volumeMounts:
|
||||
# - name: reverse-proxy-conf-randomfile
|
||||
# mountPath: /etc/nginx/conf.d/random.conf
|
||||
- name: nginx-sites-terraform
|
||||
mountPath: /etc/nginx/conf.d/
|
||||
- mountPath: /var/log/nginx/
|
||||
@@ -41,6 +40,10 @@ spec:
|
||||
mountPath: /etc/nginx/extra.conf.d/
|
||||
- name: deny-ip-terraform
|
||||
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
|
||||
mountPath: /etc/nginx/ssl/
|
||||
- mountPath: /etc/nginx/
|
||||
@@ -60,11 +63,9 @@ spec:
|
||||
- name: reverse-proxy-ssl
|
||||
hostPath:
|
||||
path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/
|
||||
- hostPath:
|
||||
path: /opt/kubernetes/Reverse_proxy_Nginx/random.conf
|
||||
type: File
|
||||
name: reverse-proxy-conf-randomfile
|
||||
|
||||
- name: reverse-proxy-geoip
|
||||
hostPath:
|
||||
path: /opt/kubernetes/Reverse_proxy_Nginx/geoip
|
||||
- name: nginx-configfile
|
||||
configMap:
|
||||
name: nginx-config
|
||||
@@ -87,6 +88,9 @@ spec:
|
||||
- name: secret-htpasswd
|
||||
secret:
|
||||
secretName: htpasswd
|
||||
- name: blacklisted-sessions-map
|
||||
persistentVolumeClaim:
|
||||
claimName: blacklisted-sessions-map
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user