apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
    
  name: kuma-ingress
  namespace: uptime-kuma
spec:
  tls:
  - hosts:
    - "uptime.${SECRET_DOMAIN}"
  rules:
  - host: "uptime.${SECRET_DOMAIN}"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: service
            port:
              number: 3001