Update traefik deployment + add crowdsec bouncer
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
736ac64ff0
commit
6def4562ad
4 changed files with 46 additions and 10 deletions
|
|
@ -19,6 +19,7 @@ data:
|
|||
# - auth@file
|
||||
# - secure_headers@file
|
||||
# - crowdsec-bouncer@file
|
||||
# - {{ traefik_namespace }}-crowdsec-traefik-bouncer@kubernetescrd
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: websecure
|
||||
|
|
@ -37,10 +38,18 @@ 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 %}
|
||||
{% if traefik_entrypoint.tls is defined or traefik_entrypoint.middlewares is defined %}
|
||||
http:
|
||||
{% if traefik_entrypoint.middlewares is defined %}
|
||||
middlewares:
|
||||
{% for middleware in traefik_entrypoint.middlewares %}
|
||||
- {{ middleware }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if traefik_entrypoint.tls is defined and traefik_entrypoint.tls|bool %}
|
||||
tls: {}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
providers:
|
||||
kubernetesCRD:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue