@@ -143,13 +143,13 @@ objects:
143143 volumeMounts :
144144 - name : vanity-tls-certs
145145 readOnly : true
146- mountPath : /opt/bitnami/ nginx/conf /certs
146+ mountPath : /etc/ nginx/certs
147147 - name : plr-integration-volume
148148 readOnly : true
149- mountPath : /opt/bitnami/ nginx/conf /certs/plr
149+ mountPath : /etc/ nginx/certs/plr
150150 - name : nginx-config
151151 readOnly : true
152- mountPath : /opt/bitnami/ nginx/conf /nginx.conf
152+ mountPath : /etc/ nginx/nginx.conf
153153 subPath : nginx.conf
154154 - name : env-config
155155 readOnly : true
@@ -218,27 +218,28 @@ objects:
218218 #user www www; ## Default: nobody
219219
220220 worker_processes auto;
221- error_log "/opt/bitnami/nginx/logs/error.log";
222- pid "/opt/bitnami/nginx/tmp/nginx.pid";
221+ error_log "/var/log/nginx/error.log";
222+ error_log "/tmp/error_fluentbit.log";
223+ pid "/tmp/nginx.pid";
223224
224225 events {
225226 worker_connections 1024;
226227 }
227228
228229 http {
229- include mime.types;
230+ include /etc/nginx/ mime.types;
230231 default_type application/octet-stream;
231232 log_format main '$remote_addr - $remote_user [$time_local] '
232233 '"$request" $status $body_bytes_sent "$http_referer" '
233234 '"$http_user_agent" "$http_x_forwarded_for"';
234- access_log "/opt/bitnami /nginx/logs /access.log" main;
235+ access_log "/var/log /nginx/access.log" main;
235236 # add_header X-Frame-Options SAMEORIGIN;
236237
237- client_body_temp_path "/opt/bitnami/nginx/ tmp/client_body" 1 2;
238- proxy_temp_path "/opt/bitnami/nginx/ tmp/proxy" 1 2;
239- fastcgi_temp_path "/opt/bitnami/nginx/ tmp/fastcgi" 1 2;
240- scgi_temp_path "/opt/bitnami/nginx/ tmp/scgi" 1 2;
241- uwsgi_temp_path "/opt/bitnami/nginx/ tmp/uwsgi" 1 2;
238+ client_body_temp_path "/tmp/client_body" 1 2;
239+ proxy_temp_path "/tmp/proxy" 1 2;
240+ fastcgi_temp_path "/tmp/fastcgi" 1 2;
241+ scgi_temp_path "/tmp/scgi" 1 2;
242+ uwsgi_temp_path "/tmp/uwsgi" 1 2;
242243
243244 sendfile on;
244245 # tcp_nopush on;
@@ -419,6 +420,7 @@ objects:
419420 }
420421 }
421422 }
423+
422424
423425# Frontend Service
424426- apiVersion : v1
@@ -443,7 +445,8 @@ objects:
443445 port : 8890
444446 targetPort : 8890
445447 selector :
446- name : ${SVC_NAME}-frontend
448+ app.kubernetes.io/part-of : ${SVC_NAME}
449+ app.kubernetes.io/name : frontend
447450# Ingress
448451- apiVersion : networking.k8s.io/v1
449452 kind : Ingress
@@ -745,7 +748,8 @@ objects:
745748 port : 8080
746749 targetPort : 8080
747750 selector :
748- name : ${SVC_NAME}-webapi
751+ app.kubernetes.io/name : webapi
752+ app.kubernetes.io/part-of : ${SVC_NAME}
749753
750754# ##########################################
751755# ## Document Manager (backend) ###
0 commit comments