apiVersion: networking.k8s.io/v1
kind: Ingress

metadata:
  name: klokkinn-frontend
  namespace: klokkinn
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-production
spec:
  rules:
    - host: klokkinn.no
      http:
        paths:
          - backend:
              service:
                name: klokkinn-frontend
                port:
                  number: 80
            path: /
            pathType: Prefix
  tls:
    - hosts:
        - klokkinn.no
      secretName: klokkinn-frontend-tls

