apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: flaskapp
  annotations:
    kubernetes.io/ingress.class: ingress-nginx
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - pathType: Prefix
        path: "/flask"
        backend:
          service:
            name: flaskapp
            port:
              number: 8080
