Open
Description
Describe the bug
If traefik 2 is chosen, traefik 1 labels are added with wrong format.
To Reproduce
Affected versions: 7.0.3
Steps to reproduce the behavior:
- Update to that version
- Select traefik 2
Traefik v1 labels are generated like this:
traefik.forbiddenCrawlers-0.frontend.rule: Host(`one.example.com`);Path:/web,/web/{anything:.*},/website/info,/website/info/{anything:.*}
traefik.main-0.frontend.rule: Host(`one.example.com`)
traefik.longpolling-0.frontend.rule: Host(`one.example.com`);Path:/longpolling/{anything:.*}
traefik.longpolling-0.port: 8072
traefik.alt-1.frontend.redirect.regex: ^(.*)://([^/]+)/(.*)$$
traefik.alt-1.frontend.redirect.replacement: $$1://one.example.com/$$3
traefik.alt-1.frontend.rule: Host(`two.example.com`)
Expected behavior A clear and concise description of what you expected to happen.
Traefik v1 labels should either be removed (because I chose v2, after all) or be kept as they were before, like this:
traefik.forbiddenCrawlers-0.frontend.rule: Host:one.example.com;Path:/web,/web/{anything:.*},/website/info,/website/info/{anything:.*}
traefik.main-0.frontend.rule: Host:one.example.com
traefik.longpolling-0.frontend.rule: Host:one.example.com;Path:/longpolling/{anything:.*}
traefik.longpolling-0.port: 8072
traefik.alt-1.frontend.redirect.regex: ^(.*)://([^/]+)/(.*)$$
traefik.alt-1.frontend.redirect.replacement: $$1://one.example.com/$$3
traefik.alt-1.frontend.rule: Host:two.example.com
Additional context Add any other context about the problem here. (e.g. OS, Docker
version, ...)
I don't use traefik v1.