apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-service
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/use-regex: "true"
spec:
  rules:
    - host: www.micro.breezebd.com
      http:
        paths:
          - path: /api/auth/?(.*)
            pathType: Prefix
            backend:
              service:
                name: auth-srv
                port:
                  number: 4000
          # - path: /api/founder/?(.*)
          #   pathType: Prefix
          #   backend:
          #     service:
          #       name: founder-srv
          #       port:
          #         number: 5000
          # - path: /api/investor/?(.*)
          #   pathType: Prefix
          #   backend:
          #     service:
          #       name: investor-srv
          #       port:
          #         number: 6000
