I couldnt find a definitive answer looking at the documentation so I hope to get confirmation here:
Is Traefik supporting wildcard host names defined in Ingress (networking.k8s.io/v1) in combination with Cert-Manager?
E.g.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-wildcard-host
annotations:
cert-manager.io/cluster-issuer: letsencrypt-dns-prod
ingress.kubernetes.io/force-ssl-redirect: 'true'
kubernetes.io/tls-acme: 'true'
spec:
tls:
- hosts:
- '*.bar.com'
secretName: tls
rules:
- host: "foo.bar.com"
http:
paths:
- pathType: Prefix
path: "/bar"
backend:
service:
name: service1
port:
number: 80
- host: "*.foo.com"
http:
paths:
- pathType: Prefix
path: "/foo"
backend:
service:
name: service2
port:
number: 80