Use default certificate by default

This commit is contained in:
Adrien Reslinger 2020-07-13 17:19:58 +02:00
parent a9faf1337c
commit ecc9410692
3 changed files with 4 additions and 5 deletions

View file

@ -16,3 +16,4 @@ traefik_entrypoints:
- { name: "traefik", port: 8080, proto: "TCP" }
basic_auth: false
#traefik_dashboard_certificate: wildcard-cluster

View file

@ -42,7 +42,9 @@ spec:
# (default 100ms) Interval between flushes of the buffered response body to the client.
flushInterval: 100ms
tls:
secretName: wildcard-cluster
{% if traefik_dashboard_certificate is defined %}
secretName: {{ traefik_dashboard_certificate }}
{% endif %}
options:
name: default
namespace: {{ traefik_namespace }}

View file

@ -71,11 +71,7 @@ spec:
reslinger.net/entrypoint: traefik
{% endif %}
dnsPolicy: ClusterFirst
{% if my_context == "flamykube" %}
hostNetwork: true
{% else %}
hostNetwork: false
{% endif %}
restartPolicy: Always
terminationGracePeriodSeconds: 1
tolerations: