apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minimal-ingress
spec:
  rules:
    - host: "app1.com"
      http:
        paths:  # Ensure correct indentation under "http"
          - path: "/"
            pathType: Prefix
            backend:
              service:
                name: app1-service
                port:
                  number: 80
    - host: "app2.com"
      http:
        paths:  # Ensure correct indentation under "http"
          - path: "/"
            pathType: Prefix
            backend:
              service:
                name: app2-service
                port:
                  number: 80
    - http:
        paths:  # Ensure correct indentation under "http"
          - path: "/"
            pathType: Prefix
            backend:
              service:
                name: app3-service
                port:
                  number: 80
