Entrypoint are now in variables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-07-05 23:27:45 +02:00
parent 3d834141d6
commit d42dcaf146
4 changed files with 16 additions and 22 deletions

View file

@ -10,5 +10,9 @@ traefik_node_selector:
- localhost - localhost
traefik_cpu_limit: 500m traefik_cpu_limit: 500m
traefik_memory_limit: 300Mi traefik_memory_limit: 300Mi
traefik_entrypoints:
- { name: "http", port: 80, proto: "TCP" }
- { name: "https", port: 443, proto: "TCP" }
- { name: "traefik", port: 8080, proto: "TCP" }
basic_auth: false basic_auth: false

View file

@ -6,12 +6,10 @@ data:
serversTransport: serversTransport:
insecureSkipVerify: true insecureSkipVerify: true
entryPoints: entryPoints:
http: {% for traefik_entrypoint in traefik_entrypoints %}
address: :80 {{ traefik_entrypoint.name }}:
https: address: :{{ traefik_entrypoint.port }}
address: :443 {% endfor %}
traefik:
address: :8080
providers: providers:
kubernetesCRD: kubernetesCRD:
throttleDuration: 2s throttleDuration: 2s

View file

@ -6,14 +6,10 @@ data:
serversTransport: serversTransport:
insecureSkipVerify: true insecureSkipVerify: true
entryPoints: entryPoints:
http: {% for traefik_entrypoint in traefik_entrypoints %}
address: :80 {{ traefik_entrypoint.name }}:
https: address: :{{ traefik_entrypoint.port }}
address: :443 {% endfor %}
traefik:
address: :8080
gitea_ssh:
address: :2222
providers: providers:
kubernetesCRD: kubernetesCRD:
throttleDuration: 2s throttleDuration: 2s

View file

@ -6,14 +6,10 @@ data:
serversTransport: serversTransport:
insecureSkipVerify: true insecureSkipVerify: true
entryPoints: entryPoints:
http: {% for traefik_entrypoint in traefik_entrypoints %}
address: :80 {{ traefik_entrypoint.name }}:
https: address: :{{ traefik_entrypoint.port }}
address: :443 {% endfor %}
traefik:
address: :8080
gitea_ssh:
address: :2222
providers: providers:
kubernetesCRD: kubernetesCRD:
throttleDuration: 2s throttleDuration: 2s