Change traefik middleware order
This commit is contained in:
parent
28ddb2d454
commit
02d548d869
1 changed files with 5 additions and 5 deletions
|
|
@ -50,14 +50,14 @@ spec:
|
|||
priority: 12
|
||||
{% if basic_auth is defined or ingress_whitelist is defined %}
|
||||
middlewares:
|
||||
{% if basic_auth is defined %}
|
||||
- name: basic-auth
|
||||
namespace: tools
|
||||
{% endif %}
|
||||
{% if ingress_whitelist is defined %}
|
||||
- name: traefik-ipwhitelist
|
||||
namespace: tools
|
||||
{% endif %}
|
||||
{% if basic_auth is defined %}
|
||||
- name: basic-auth
|
||||
namespace: tools
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
services:
|
||||
- name: weave-scope-app
|
||||
|
|
@ -77,4 +77,4 @@ spec:
|
|||
name: default
|
||||
namespace: tools
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue