apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-conf
data:
  nginx.conf: |
    user nginx;
    worker_processes  1;
    events {
      worker_connections  1024;
    }
    http {
      server {
        listen 443 ssl;
        ssl_certificate     /vault/secrets/server.cert;
        ssl_certificate_key /vault/secrets/server.key;
        location / {
          return 200 'ok';
        }
      }
    }
