Now I am using HostSNI(
*)
to mapping the TCP service like mysql\postgresql...
in traefik 2.2.1 in Kubernetes cluster v1.18 . beacuse I am in my local machine and did not have a valid certification. This is the config:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: mysql-ingress-tcp-route
namespace: middleware
spec:
entryPoints:
- mysql
routes:
- match: HostSNI(`*`)
services:
- name: report-mysqlha
port: 3306
is config works fine in my local machine. But I still want to know the side effect to using
HostSNI(
)
mapping stratege. What is the disadvantege to using HostSNI(
)
not a domain name? Is it possible to using a fake domain name in my local machine?