apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: notifier-ingress
  labels:
    app: notifier
  annotations:
    kubernetes.io/ingress.class: nginx
    cert-manager.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
  tls:
  - hosts:
    - notifier.example.com
    secretName: notifier-tls
  rules:
  - host: notifier.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: notifier-rest
            port:
              number: 8080
