apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-config
  labels:
    tier: proxy
data:
  nginx.conf: |
    user  nginx;
    worker_processes  auto;

    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;

    events {
        worker_connections  1024;
    }

    http {
      server {
        listen 8080 default_server;

        location /health {
          access_log off;
          return 200 "hello mario!\n";
        }
      }
    }
