Michael
1f6f8d5e0f
New option in secure middleware
2018-03-02 14:24:03 +01:00
Ludovic Fernandez
0306b5e8f7
Missing annotation prefix support.
2018-02-23 18:36:03 +01:00
Kim Min
5ef55dd8b4
Add app-root annotation support for kubernetes ingress
2018-02-19 15:36:03 +01:00
Kim Min
83a92596c3
Bump kubernetes/client-go
2018-02-14 09:56:04 +01:00
Yuvi Panda
04ebd9d46a
Allow custom value for kubernetes.io/ingress.class annotation
2018-02-01 19:04:04 +01:00
Ludovic Fernandez
58d6681824
Redirection: permanent move option.
2018-01-31 19:10:04 +01:00
Fernandez Ludovic
7c80b9a692
refactor(k8s): new annotations style.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
a4a8345a33
refactor(k8s): baseName and ObjectMeta.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
4497ddbb0e
refactor(k8s): default to nil headers struct.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
53388a3570
feat(k8s): add max conn annotations.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
1c495d7ea4
feat(k8s): add rate limit annotations.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
4c0d6e211b
feat(k8s): add error pages annotations.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
5bfd6acd52
fix(k8s): add passTLSCert to template.
2018-01-31 17:16:05 +01:00
Fernandez Ludovic
0b49de94c6
refactor(k8s): extract functions.
2018-01-31 17:16:05 +01:00
Łukasz Harasimowicz
a81171d5f1
Request buffering middleware
2018-01-31 15:32:04 +01:00
Fernandez Ludovic
c8446c2dc8
Merge branch 'v1.5' into master
2018-01-24 15:11:21 +01:00
Fernandez Ludovic
89d90de7d8
Merge branch '1.5.0-rc5' into master
2018-01-15 17:27:37 +01:00
SALLEYRON Julien
3e439cc39b
Add Let's Encrypt HTTP Challenge
2018-01-15 16:04:05 +01:00
gopenguin
8327dd0c0b
Add support for fetching k8s Ingress TLS data from secrets
2018-01-08 00:36:03 +01:00
Fernandez Ludovic
c84fb9895e
Merge branch 'v1.5' into master
2018-01-02 15:21:17 +01:00
Ludovic Fernandez
bfd142b13b
Fix custom headers template
2018-01-02 10:10:04 +01:00
ferhat elmas
705f3f1372
Drop unnecessary type conversions
2017-12-18 09:14:03 +01:00
Fernandez Ludovic
f6520727a3
Merge branch 'v1.5' into master
2017-12-15 22:16:48 +01:00
Ludovic Fernandez
7ecd6d20ba
Support regex redirect by frontend
2017-12-15 11:48:03 +01:00
Ludovic Fernandez
e2190bd9d5
Builders in k8s tests
2017-12-05 20:24:03 +01:00
Fernandez Ludovic
04dd63da1c
refactor(k8s): rewrite configuration system.
2017-12-05 19:40:04 +01:00
Ludovic Fernandez
3a99c86cb3
Change custom headers separator
2017-12-04 11:40:03 +01:00
Ludovic Fernandez
aaf120f263
Reduce logs with new Kubernetes security annotations
2017-12-01 14:00:04 +01:00
Ludovic Fernandez
f084d2a28b
Fix Labels/annotation logs and values.
2017-11-30 09:26:03 +01:00
Daniel Tomcej
4cb6241e93
Kubernetes security header annotations
2017-11-28 13:36:03 +01:00
Fernandez Ludovic
9f6f637527
Merge branch 'v1.4' into master
2017-11-27 11:40:50 +01:00
Kwok-kuen Cheung
0f09551a76
Fix kubernetes path prefix rule with rewrite-target
2017-11-27 11:22:03 +01:00
ryarnyah
7ed4ae2f8c
Add labels for traefik.frontend.entryPoints
& PassTLSCert
to Kubernetes
2017-11-20 02:12:03 +01:00
Manuel Zapf
5d6384e101
redirect to another entryPoint per frontend
2017-11-18 13:50:03 +01:00
Fernandez Ludovic
7192aa86b5
Merge 'v1.4.0' into master
2017-10-16 23:10:44 +02:00
Ludovic Fernandez
08503655d9
Backward compatibility for sticky
2017-10-16 17:38:03 +02:00
Ludovic Fernandez
8cb3f0835a
Stickiness cookie name.
2017-10-12 17:50:03 +02:00
Timo Reimann
8d158402f3
Continue processing on invalid auth-realm annotation.
2017-10-12 15:48:03 +02:00
Fernandez Ludovic
9faae7387e
Merge tag 'v1.4.0-rc5' into master
2017-10-10 17:17:44 +02:00
Timo Reimann
a5c644e719
Only listen to configured k8s namespaces.
2017-10-10 16:26:03 +02:00
Ludovic Fernandez
a9d4b09bdb
Stickiness cookie name
2017-10-10 11:10:02 +02:00
Ludovic Fernandez
5cc49e2931
bug
command.
2017-10-02 10:32:02 +02:00
Fernandez Ludovic
7c2ba62b56
doc: structural review
...
- user-guide review.
- add DataDog and StatD configuration.
- sync sample.toml and doc.
- split entry points doc.
- Deprecated.
2017-08-28 23:02:04 +02:00
Timo Reimann
b80ecd51a7
Use default frontend priority of zero.
2017-08-18 16:14:03 +02:00
Ludovic Fernandez
759c269dee
Code cleaning.
2017-08-18 02:18:02 +02:00
Kirill Orlov
94f922cd28
Added ability to override frontend priority for k8s ingress router
2017-07-29 18:35:23 +02:00
Fernandez Ludovic
c36e0b3b06
refactor: add Safe everywhere is needing.
2017-07-20 14:59:54 +02:00
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
Michael Laccetti
41dd124a4b
kubernetes ingress rewrite-target implementation
...
* Adding support for `ingress.kubernetes.io/rewrite-target`
We create a rule using the `PathPrefixStrip` to trim out the bit in the rewrite rule.
2017-07-07 21:27:54 +02:00
Fernandez Ludovic
8f845bac74
Merge tag 'v1.3.3'
2017-07-06 19:37:12 +02:00
Timo Reimann
4892b2b0da
[kubernetes] Undo the Secrets controller sync wait.
...
When Secrets permissions have not been granted (which is likely to be
the case for users not needing the basic auth feature), the watch on the
Secrets API will never yield a response, thereby causing the controller
to never sync successfully, and in turn causing the check for all
controller synchronizations to fail consistently. Thus, no event will
ever be handled.
2017-07-06 17:12:25 +02:00
Timo Reimann
91ce78da46
[k8s] Tell glog to log everything into STDERR.
...
Logging errors into a file inside a minimalistic container might not be
possible, and glog bails out with an exit code > 0 if it fails.
2017-07-04 17:11:50 +02:00
Fernandez Ludovic
3776e58041
Merge branch 'v1.3'
2017-06-30 00:04:04 +02:00
Timo Reimann
6473002021
Continue Ingress processing on auth retrieval failure.
2017-06-29 16:13:53 +02:00
Timo Reimann
4d89ff7e18
Improve basic auth handling.
...
- Enrich logging.
- Move error closer to producer.
2017-06-29 16:13:53 +02:00
Timo Reimann
c5c63071ca
Wait for secret controller to finish synchronizing.
...
Prevents a race on closing the events channel, possibly leading to a
double-close.
2017-06-29 16:13:53 +02:00
Fernandez Ludovic
71111708d4
Merge branch 'v1.3' into master
2017-06-02 19:56:15 +02:00
Kekoa Vincent
ac5ab13a4c
Fix errors caused by incorrect type being sent for the Kubernetes Secret watcher #1596
...
This was likely just a copy-paste issue, the bug should be benign because the secret is cast to the correct type later, but the additional logging is a major annoyance, and is happening even if basic auth is not in use with Kubernetes.
2017-06-02 19:20:47 +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
Fernandez Ludovic
2833d68f15
Merge branch 'v1.3' into merge-back-1_3_0-rc3
2017-05-24 20:39:38 +02:00
Timo Reimann
9967494996
[k8s] Ignore Ingresses with empty Endpoint subsets.
...
We previously fell back to using ClusterIPs. However, the approach can
lead to all kinds of problems since Ingresses rely on being able to talk
to Endpoints directly. For instance, it can break stickiness and
retries.
2017-05-23 21:15:06 +02:00
Timo Reimann
b392023c37
Add additional tests for PathStrip{Prefix}.
2017-05-23 17:31:34 +02:00
Timo Reimann
f7d9dfafd0
[k8s] Remove rule type path list.
...
Instead of doing sanity checks in the Kubernetes provider, we just
accept any non-empty value from the annotation and rely on the server
part to filter out unknown rules.
This allows us to automatically stay in sync with the currently
supported Path matchers/modifiers.
2017-05-23 17:31:34 +02:00
MaZderMind
5f0b215e90
IP Whitelists for Frontend (with Docker- & Kubernetes-Provider Support)
2017-05-19 15:19:29 +02:00
Timo Reimann
fe6c35bc6b
[Kubernetes] Ignore missing pass host header annotation.
...
A missing annotation would previously be handled in the default error
case, causing a noisy warning-level log message to be generated each
time.
We add another case statement to ignore the case where the annotation is
missing from the annotations map.
Also piggybacking a minor improvement to the log message.
2017-05-10 19:32:45 +02:00
Alex Peters
89da3b15a4
Add basic auth to kubernetes provider
2017-05-03 13:18:40 +02:00
Regner Blok-Andersen
d24ba90900
Updating Kubernetes tests to properly test missing endpoints code path
...
This fixes #1307
2017-04-28 15:25:03 +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