apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: api-ingress
  namespace: eshop
  annotations :
    nginx.ingress.kubernetes.io/proxy-buffer-size: 16k
spec:
  ingressClassName: nginx
  rules:
  - http:
      paths:
      - path: /seq/
        pathType: Prefix
        backend:
          service:
            name: seq
            port: 
              number: 80
      - path: /c/api/v1/
        pathType: Prefix
        backend:
          service:
            name: apigateway
            port: 
              number: 80
      - path: /b/api/v1/
        pathType: Prefix
        backend:
          service:
            name: apigateway
            port: 
              number: 80
      - path: /o/api/v1/
        pathType: Prefix
        backend:
          service:
            name: apigateway
            port: 
              number: 80
      - path: /hub/notificationhub
        pathType: Prefix
        backend:
          service:
            name: apigateway
            port: 
              number: 80
      - path: /api/v1/
        pathType: Prefix
        backend:
          service:
            name: apigateway
            port: 
              number: 80
      - path: /identity
        pathType: Prefix
        backend:
          service:
            name: identity-api
            port: 
              number: 80
      - path: /zipkin
        pathType: Prefix
        backend:
          service:
            name: zipkin
            port: 
              number: 9411
      - path: /webstatus
        pathType: Prefix
        backend:
          service:
            name: webstatus
            port: 
              number: 80
      - path: /
        pathType: Prefix
        backend:
          service:
            name: webspa
            port: 
              number: 80
