trying to purge from staticfiles
This commit is contained in:
+18
-13
@@ -37,12 +37,13 @@ spec:
|
|||||||
mountPath: /etc/nginx/conf.d/
|
mountPath: /etc/nginx/conf.d/
|
||||||
- name: reverse-proxy-ssl
|
- name: reverse-proxy-ssl
|
||||||
mountPath: /etc/nginx/ssl/
|
mountPath: /etc/nginx/ssl/
|
||||||
- name: nginx-configfile
|
#try to chnage from static file to confimap
|
||||||
mountPath: /tmp/etc/nginx/
|
# - mountPath: /etc/nginx/nginx.conf
|
||||||
- mountPath: /etc/nginx/nginx.conf
|
# name: nginx-configfile-volume
|
||||||
name: nginx-configfile-volume
|
- mountPath: /etc/nginx/
|
||||||
- name: reverse-proxy-www
|
name: nginx-configfile
|
||||||
mountPath: /var/www/certbot/
|
# - name: reverse-proxy-www
|
||||||
|
# mountPath: /var/www/certbot/
|
||||||
- name: proxy-cache-path-volume
|
- name: proxy-cache-path-volume
|
||||||
mountPath: /tmp/cache/
|
mountPath: /tmp/cache/
|
||||||
- name: secret-htpasswd
|
- name: secret-htpasswd
|
||||||
@@ -52,15 +53,19 @@ spec:
|
|||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 250Mi
|
memory: 250Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: reverse-proxy-conf
|
# - name: reverse-proxy-conf
|
||||||
hostPath:
|
# hostPath:
|
||||||
path: /opt/kubernetes/Reverse_proxy_Nginx/conf.d
|
# path: /opt/kubernetes/Reverse_proxy_Nginx/conf.d
|
||||||
- name: reverse-proxy-www
|
- name: reverse-proxy-www
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/
|
path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/
|
||||||
- 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:
|
||||||
|
# path: /opt/kubernetes/Reverse_proxy_Nginx/nginx.conf
|
||||||
|
# type: File
|
||||||
|
# name: nginx-configfile-volume
|
||||||
- name: nginx-configfile
|
- name: nginx-configfile
|
||||||
configMap:
|
configMap:
|
||||||
name: nginx-config
|
name: nginx-config
|
||||||
@@ -73,10 +78,10 @@ spec:
|
|||||||
# hostPath:
|
# hostPath:
|
||||||
# path: /opt/kubernetes/Reverse_proxy_Nginx/nginx.conf # directory location on host
|
# path: /opt/kubernetes/Reverse_proxy_Nginx/nginx.conf # directory location on host
|
||||||
# type: File # this field is optional
|
# type: File # this field is optional
|
||||||
- name: nginx-configfile-volume
|
# - name: nginx-configfile-volume
|
||||||
configMap:
|
# configMap:
|
||||||
name: nginx-config
|
# name: nginx-config
|
||||||
defaultMode: 0555
|
# defaultMode: 0555
|
||||||
- name: proxy-cache-path-volume
|
- name: proxy-cache-path-volume
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
|
|||||||
Reference in New Issue
Block a user