apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: hq-dashboard-ingress
  namespace: ai-agents
  annotations:
    k8s.apisix.apache.org/enable-websocket: "true"
spec:
  ingressClassName: apisix
  rules:
  - host: hq.applaude.net
    http:
      paths:
      - backend:
          service:
            name: hq-dashboard
            port:
              number: 80
        path: /
        pathType: Prefix
      - backend:
          service:
            name: whatsapp-gateway
            port:
              number: 5001
        path: /proxy/whatsapp/socket.io
        pathType: Prefix
