apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: notification-ui-ingress
  labels:
    app: notification
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/use-regex: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
  rules:
    - host: <your host name>
      http:
        paths:
          - path: /(.*)
            pathType: Prefix
            backend:
              service:
                name: notification-ui
                port:
                  number: 80
