apiVersion: v1
kind: ConfigMap
metadata:
  name: sidecar-configmap
data:
  reverse_proxy.conf: |
    server {
       listen       8080;
       server_name  localhost;
       location / {
           proxy_pass  http://localhost:5000/;
           proxy_set_header HOST $host;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           
           access_log /var/log/nginx/access.log;
           error_log /var/log/nginx/error.log;
        }
      }
