apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: hgzero-ingress
  annotations:
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
  rules:
  - host: hgzero-staging-api.example.com
    http:
      paths:
      - path: /api/users
        pathType: Prefix
        backend:
          service:
            name: user-service
            port:
              number: 8080
      - path: /api/meetings
        pathType: Prefix
        backend:
          service:
            name: meeting-service
            port:
              number: 8080
      - path: /api/stt
        pathType: Prefix
        backend:
          service:
            name: stt-service
            port:
              number: 8080
      - path: /api/ai
        pathType: Prefix
        backend:
          service:
            name: ai-service
            port:
              number: 8080
      - path: /api/notifications
        pathType: Prefix
        backend:
          service:
            name: notification-service
            port:
              number: 8080
