Ludovic Fernandez
d653a348b1
Factorize labels
...
* refactor(accesslog): factorize file name.
* traefik.frontend.rule
* traefik.frontend.value
* traefik.backend.circuitbreaker.expression
* traefik.enable
* traefik.backend.loadbalancer.method
* traefik.backend.loadbalancer.sticky
* traefik.backend.maxconn.amount
* traefik.backend.maxconn.extractorfunc
* traefik.port
* traefik.tags
* traefik.backend
* traefik.weight
* traefik.domain
* traefik.protocol
* traefik.frontend.passHostHeader
* traefik.frontend.whitelistSourceRange
* traefik.frontend.priority
* traefik.frontend.entryPoints
* traefik.frontend.auth.basic
* traefik.backend.id
* traefik.backend.circuitbreaker
* traefik.frontend.rule.type
* traefik.portIndex
* refactor(docker): specific labels
* refactor(rancher): specific labels
* traefik.backend.healthcheck.*
* refactor(providers): factorize labels.
2017-07-10 16:58:12 +02:00
Fernandez Ludovic
54e3f08833
refactor(marathon): Use Traefik Logger.
2017-07-08 00:05:53 +02:00
Matt Christiansen
4dfbb6d489
Add marathon label to configure basic auth, similar to docker and rancher providers
2017-07-07 23:36:04 +02:00
Fernandez Ludovic
2a578748fd
Merge branch 'v1.3'
2017-06-14 22:26:35 +02:00
Fernandez Ludovic
0d25ba3cbc
refactor: Add explicit error message.
2017-06-14 19:49:45 +02:00
Alex Antonov
39388a2199
Exported getSubDomain function from Marathon provider to be able to use in custom templates
2017-06-06 14:31:30 +02:00
Fernandez Ludovic
cbccdd51c5
refactor: Logs & errors review.
...
- log & error: remove format if not necessary, add if necessary.
- add constants for k8s annotations.
- fix typos
2017-05-30 23:33:27 +02:00
Emile Vauge
3a4ec19817
Add missing description tag
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2017-05-11 19:33:32 +02:00
Timo Reimann
d57f83c31c
Make Traefik health checks label-configurable with Marathon.
...
For the two existing health check parameters (path and interval), we add
support for Marathon labels.
Changes in detail:
- Extend the Marathon provider and template.
- Refactor Server.loadConfig to reduce duplication.
- Refactor the healthcheck package slightly to accommodate the changes
and allow extending by future parameters.
- Update documentation.
2017-04-28 18:17:25 +02:00
Timo Reimann
a4355569af
Extract index functionality into generic helper function.
...
Allows to move specific test cases to dedicated tests for new function.
2017-04-26 11:35:30 +02:00
Timo Reimann
16c86022bb
Cosmetic changes.
2017-04-26 11:35:30 +02:00
Diego de Oliveira
592a12dca2
Fix unsound behavior
...
The IP-Per-Task feature changed the behavior for
clients without this configuration (using the task IP instead
of task hostname). This patch make the new behavior available
just for Mesos installation with IP-Per-Task enabled. It also
make it possible to force the use of task's hostname.
2017-04-26 11:35:30 +02:00
Timo Reimann
099d605aed
Check for explicitly defined Marathon port first.
...
Previously, we did the check too late resulting in the traefik.port
label not being effective.
The change comes with additional refactorings in production and tests.
2017-04-25 23:18:30 +02:00
Timo Reimann
f1bc80ca12
Change getLabel signature to return bool instead of error.
...
The comma ok idiom fits better.
2017-04-25 23:18:30 +02:00
Vincent Demeester
542c3673e4
Extract providers to their own package
...
This is just doing that and making it compile :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-04-18 13:24:17 +02:00