apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: news-site
  namespace: openclaw-private
  labels:
    app: news-site
    app.kubernetes.io/component: frontend
    app.kubernetes.io/part-of: signalledger
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
    traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
    traefik.ingress.kubernetes.io/router.tls: "true"
    traefik.ingress.kubernetes.io/router.middlewares: "openclaw-private-security-headers@kubernetescrd"
spec:
  ingressClassName: traefik
  tls:
    - hosts:
        - news.claw.jopdorp.nl
        - signalledger.nl
        - www.signalledger.nl
      secretName: news-site-tls
  rules:
    - host: news.claw.jopdorp.nl
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: news-site
                port:
                  number: 80
    - host: signalledger.nl
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: news-site
                port:
                  number: 80
    - host: www.signalledger.nl
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: news-site
                port:
                  number: 80
