apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: webapp-ingress
  annotations:
    nginx.ingress.kubernetes.io/app-root: /home
spec:
  ingressClassName: nginx
  rules:
  - host: ""
    http:
      paths:
      - path: /home
        pathType: Exact
        backend:
          service:
            name: webapp-v1
            port:
              number: 80
      - path: /version 
        pathType: Exact
        backend:
          service:
            name: webapp-v1
            port:
              number: 80


