blog

12019-10-08

SEAN K.H. LIAO

so, because it wasn't entirely obvious to me, tls certs are managed by certResolvers, identified by

--certificateresolvers.name-of-your-resolver.acme...

and used with IngressRoutes like this:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: http-server
spec:
  entryPoints:
    - websecure
  tls:
    certResolver: name-of-your-resolver
  routes:
    - kind: Rule
      match: ...