im tying to setup my traefik in my k8s cluster.
the issue is that traefik will only use the default certificate.
no matter what i tried it wont serve the other certificate that is in the tlsstore. this is how its is configured:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: <name>
namespace: <namespace>
spec:
entryPoints:
- websecure
routes:
- match: Host(`subdomain.domain.com`) && PathPrefix(`/`)
kind: Rule
services:
- name: <service>
port: port
tls:
options:
name: <tls_option_name>
namespace: <namespace>
store:
name: <tls_store_name>
namespace: <namespace>
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: <name>
namespace: <namespace>
spec:
entryPoints:
- websecure
routes:
- match: HostRegexp(`subdomain.domain.com`) && PathPrefix(`/api.config.v1`)
kind: Rule
services:
- name: <service>
port: port
scheme: h2c
tls:
options:
name: <tls_option_name>
namespace: <namespace>
store:
name: default -- this one is default now
namespace: <namespace>
---
how can i use multi certificates and not only the default one ?