apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: ca-issuer
    nginx.ingress.kubernetes.io/backend-protocol: HTTP
    nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type, x-gatus-cache
    nginx.ingress.kubernetes.io/enable-cors: "true"
    nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
  labels:
    app.kubernetes.io/name: gatus
  name: gatus
  namespace: uptime
spec:
  ingressClassName: nginx
  rules:
    - host: uptime.adm.hel1.obx
      http:
        paths:
          - backend:
              service:
                name: gatus
                port:
                  number: 80
            path: /
            pathType: ImplementationSpecific
  tls:
    - hosts:
        - uptime.adm.hel1.obx
      secretName: gatus-tls
