apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: official-ingress
  annotations:
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /
    cert-manager.io/cluster-issuer: letsencrypt-prd-clusterissuer
spec:
  ingressClassName: nginx
  rules:
    - host: www.merlin-platform.eu
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: service
                port:
                  number: 80
  tls:
    - hosts:
        - www.merlin-platform.eu
      secretName: official-tls
