简体   繁体   中英

Traefik SSL Let's Encrypty in Kubernetes Ingress

I tried to follow the typical instalation:

kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default

helm install --namespace kube-system --name traefik --values traefik-helm1-6.yml stable/traefik

With the config ( traefik-helm1-6.yml ):

imageTag: 1.6
ssl:
    enabled: true
    enforced: true
acme:
    enabled: true
    email: "xxxxx@gmail.com"
    staging: false
    persistence.enabled: true
    challengeType: http-01
dashboard:
    enabled: true
    domain: "xxxx.org"

But when access to the dashboard or a service of the pod whoami, it show insecure and taking a look of the cert it show that it is issued by and for for the domain: *.example.com

I've been looking for answers but nothing, the documentation doesn't help much. Anything helps!! Thanks!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM