apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: traefik-ingress
  annotations:
    kubernetes.io/ingress.class: traefik
    cert-manager.io/issuer: letsencrypt
    ingress.kubernetes.io/ssl-redirect: "true"
spec:
  tls:
    - hosts:
        - cv.mhemeryck.com
        - mhemeryck.com
      secretName: cv-mhemeryck-com-tls
    - hosts:
        - wekan.mhemeryck.com
      secretName: wekan-mhemeryck-com-tls
  rules:
    - host: cv.mhemeryck.com
      http: &cv_http
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: cvsite
                port:
                  number: 80
    - host: mhemeryck.com
      http: *cv_http
    - host: wekan.mhemeryck.com
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: wekan
                port:
                  number: 80
