apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: mybooks-ingress-develop
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/use-regex: "true"
spec:
  rules:
  - host: mybooks.world
    http:
      paths:
      - path: /api/v1/?(.*)
        pathType: Prefix
        backend:
          service:
            name: server
            port:
              number: 5000
