apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-quote-service
  annotations:
    # this important https://docs.konghq.com/kubernetes-ingress-controller/1.3.x/references/annotations/#konghqcomstrip-path
    konghq.com/strip-path: "true"
spec:
  ingressClassName: kong
  rules:
    - http:
        paths:
          - path: /back2future
            pathType: Prefix
            backend:
              service:
                name: back2future-quote-service
                port:
                  number: 80
          - path: /chuck
            pathType: Prefix
            backend:
              service:
                name: chuck-quote-service
                port:
                  number: 8080

