title: Path wildcard not working in kubernetes ingress
body: <p>I have installed Ingress and linked my service to it (usign metallb).</p>
  <pre><code>apiVersion: networking.k8s.io/v1beta1
  kind: Ingress
  metadata:
    name: test-ingress
    annotations:
       nginx.ingress.kubernetes.io/rewrite-target: /
  spec:
     rules:
     - http:
         paths:
         - path: /api/tasks/*
           # pathType: Exact
           backend:
             serviceName: tasks-service
             servicePort: 5004
  </code></pre>
  <p>The thing is this, I set up the default prefix of the paths in the deployment to be</p>
  <blockquote>
  <p>/api/tasks/</p>
  </blockquote>
  <p>where <code>/api/tasks/tasks</code> shows the service is up while <code>/api/tasks/tasks_count</code> gives the total number. However in my k8s cluster, I cannot redirect to the different paths within the service. What could be the problem?</p>