Switch plugin traefik-on-demand by sablier
This commit is contained in:
parent
48c523ec9a
commit
62961f7e06
4 changed files with 79 additions and 36 deletions
|
|
@ -70,13 +70,17 @@ data:
|
|||
kubernetesCRD:
|
||||
# ingressClass: "traefik"
|
||||
throttleDuration: 2s
|
||||
{% if traefik_ondemand is defined %}
|
||||
allowEmptyServices: true
|
||||
{% endif%}
|
||||
kubernetesIngress:
|
||||
ingressClass: "traefik"
|
||||
{% if traefik_hub_token is defined %}
|
||||
allowExternalNameServices: true
|
||||
{% endif%}
|
||||
{% if traefik_ondemand is defined %}
|
||||
allowEmptyServices: true
|
||||
{% endif%}
|
||||
file:
|
||||
directory: /etc/traefik/file/
|
||||
watch: true
|
||||
|
|
@ -113,8 +117,8 @@ data:
|
|||
{% endif %}
|
||||
{% if traefik_ondemand is defined %}
|
||||
plugins:
|
||||
traefik-ondemand-plugin:
|
||||
moduleName: github.com/acouvreur/traefik-ondemand-plugin
|
||||
version: v1.2.0
|
||||
sablier:
|
||||
moduleName: github.com/acouvreur/sablier
|
||||
version: v1.7.0
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue