Change TLS definition and change log format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-08-08 00:08:26 +02:00
parent 36db975a0f
commit 7f4b46b76d
2 changed files with 7 additions and 2 deletions

View file

@ -12,7 +12,7 @@ traefik_cpu_limit: 500m
traefik_memory_limit: 300Mi
traefik_entrypoints:
- { name: "http", port: 80, proto: "TCP" }
- { name: "https", port: 443, proto: "TCP" }
- { name: "https", port: 443, proto: "TCP", tls: true }
- { name: "traefik", port: 8080, proto: "TCP" }
basic_auth: false

View file

@ -10,10 +10,14 @@ data:
{% for traefik_entrypoint in traefik_entrypoints %}
{{ traefik_entrypoint.name }}:
address: :{{ traefik_entrypoint.port }}
{% if traefik_entrypoint.tls is defined and traefik_entrypoint.tls|bool %}
http:
tls: {}
{% endif %}
{% endfor %}
providers:
kubernetesCRD:
ingressClass: "traefik"
# ingressClass: "traefik"
throttleDuration: 2s
kubernetesIngress:
ingressClass: "traefik"
@ -36,6 +40,7 @@ data:
debug: true
log:
level: WARN
format: json
accessLog:
format: json
fields: