Fix for traefik 2.x
This commit is contained in:
parent
5fbb40ffda
commit
fe44d97ed7
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ spec:
|
|||
serviceName: weave-scope-app
|
||||
servicePort: 80
|
||||
{% else %}
|
||||
{% if traefik_version == "2.0" %}
|
||||
{% if traefik_version | regex_search('(2.)') %}
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue