apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: notesnook-sync namespace: notesnook annotations: cert-manager.io/cluster-issuer: letsencrypt-prod traefik.ingress.kubernetes.io/router.entrypoints: websecure spec: ingressClassName: traefik rules: - host: sync.notes.aleshym.co http: paths: - path: / pathType: Prefix backend: service: { name: notesnook-sync, port: { name: http } } - host: notes.aleshym.co http: paths: - path: / pathType: Prefix backend: service: { name: notesnook-sync, port: { name: http } } tls: - hosts: ["sync.notes.aleshym.co", "notes.aleshym.co"] secretName: notesnook-sync-tls