Commit graph

585 commits

Author SHA1 Message Date
Tom Moulard 25725e9b2f
Merge current v2.6 into master 2022-02-21 14:07:27 +01:00
Josh Soref 819de02101
Spelling 2022-02-21 12:40:09 +01:00
Ludovic Fernandez 371b6e3c86
chore: update linter 2022-02-15 14:56:53 +01:00
Tom Moulard a79868fadc
Merge current v2.6 into master 2022-02-15 09:09:16 +01:00
Ludovic Fernandez e97aa6515b
Update test certificates 2022-02-14 14:08:07 +01:00
Richard Kojedzinszky 5780dc2b15
Refactor configuration reload/throttling
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2022-02-07 11:58:04 +01:00
JasonWang2016 7543709ecf
Watch for Consul events to rebuild the dynamic configuration
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2022-01-28 17:16:07 +01:00
Kevin Pollet b84829336d
Support Consul KV Enterprise namespaces
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2022-01-12 14:42:21 +01:00
Tom Moulard 89cd9e8ddd
Merge current v2.5 into master 2021-12-06 17:39:06 +01:00
Tom Moulard 93de7cf0c0
feat: add in flight connection middleware 2021-11-29 17:12:06 +01:00
Charlie Haley 5a225b4196
test: upgrade docker-compose
Co-authored-by: Rémi Buisson <remi.buisson@traefik.io>
2021-11-25 11:10:06 +01:00
Tom Moulard 1f17731369
feat: add readIdleTimeout and pingTimeout config options to ServersTransport
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2021-11-09 12:16:08 +01:00
Kevin Pollet 8e32d1913b
Update gateway api provider to v1alpha2
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
2021-11-09 11:34:06 +01:00
kevinpollet ce47f200d5
Merge branch v2.5 into master 2021-11-08 22:41:43 +01:00
Kevin Pollet d3ff0c2cd4
fix: do not require a TLS client cert when InsecureSkipVerify is false
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
2021-10-26 10:54:11 +02:00
kevinpollet 32340252b2
Merge branch v2.5 into master 2021-10-06 11:55:12 +02:00
KallyDev 8d739c411b
Move from deprecated ioutil to os and io packages 2021-09-28 15:30:14 +02:00
Kevin Pollet 126b32c579
fix: add missing RequireAnyClientCert value to TLSOption CRD 2021-09-24 11:32:07 +02:00
Tom Moulard 380514941c
Merge current v2.5 into master 2021-09-23 16:10:03 +02:00
Lukas Schulte Pelkum 07a3c37a23
Implement customizable minimum body size for compress middleware 2021-09-20 18:00:08 +02:00
Romain 76867e39ea
Fix ServersTransport reference from IngressRoute service definition
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
2021-09-16 15:12:13 +02:00
Ludovic Fernandez 6f4a7fb604
chore: upgrade linter 2021-09-16 09:16:07 +02:00
Tom Moulard 6e28db513c
Metrics router fix
Co-authored-by: Michael <michael.matur@gmail.com>
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2021-09-15 17:26:06 +02:00
romain 4235cef1b2 Merge current v2.5 into master 2021-09-03 09:13:34 +02:00
Romain 287cebb498
Fix CRDs code and manifests generation 2021-09-02 14:40:08 +02:00
romain f81ceaef8a Merge current v2.5 into master 2021-08-30 14:51:57 +02:00
Romain 2644c1f598
Makes ALPN protocols configurable 2021-08-20 18:20:06 +02:00
mpl b7700e77bf
Update Go version 2021-08-13 17:42:09 +02:00
Eric 817ac8f256
Add organizationalUnit to passtlscert middleware 2021-07-28 17:42:09 +02:00
romain 4b456f3b76 Merge current v2.4 into v2.5 2021-07-28 14:40:49 +02:00
Michael 319e3065f0
fix: upgrade k3s version 2021-07-28 14:28:11 +02:00
Michael a48a8a97a1
fix: restore cache only once 2021-07-27 19:16:06 +02:00
Jean-Baptiste Doumenjou 16f65f669b
Update Gateway API version to v0.3.0
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
2021-07-15 17:20:08 +02:00
Mohammad Gufran 7e43e5615e
Add Support for Consul Connect
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
2021-07-15 14:02:11 +02:00
romain 3a180e2afc Merge current v2.4 into v2.5 2021-07-13 18:12:29 +02:00
Daniel Tomcej 3c1ed0d9b2
Disable ExternalName Services by default on Kubernetes providers 2021-07-13 12:54:09 +02:00
mpl 838a8e18d3
healthcheck: add support at the load-balancers of services level
Co-authored-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
2021-06-25 21:08:11 +02:00
Wei Lun dca348359b
add permissionsPolicy and deprecate featurePolicy 2021-06-21 15:16:13 +02:00
Romain fc9f41b955
Add TCP Middlewares support 2021-06-11 15:30:05 +02:00
Tom Moulard 526f493e12
Removes headers middleware options 2021-05-28 09:24:14 +02:00
Tom Moulard 5632ee6378
Deprecates ssl redirect headers middleware options 2021-05-28 08:50:09 +02:00
Tom Moulard 56f845c71a
gatewayapi: adding support for TCPRoute and TLSRoute
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
2021-05-20 11:50:12 +02:00
Luca Berneking 32e08f3510
Add k8s provider option to create services without endpoints 2021-05-06 18:12:10 +02:00
Tom Moulard 0b48d5d0d2
Fix: regenerate crd 2021-05-05 17:50:04 +02:00
Jorge Arco 080cf98e51
Add router metrics 2021-04-30 10:22:04 +02:00
Jean-Baptiste Doumenjou cb4fb973b2 Merge current branch v2.4 into master 2021-03-31 09:43:04 +02:00
jcuzzi d13d078351
Add ability to disable HTTP/2 in dynamic config 2021-03-29 14:32:03 +02:00
Jean-Baptiste Doumenjou 08e6ae07af
Update to gateway-api v0.2.0
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2021-03-15 09:44:03 +01:00
Jean-Baptiste Doumenjou 702e301990 Merge current branch v2.4 into master 2021-03-09 12:05:08 +01:00
Romain bdba7d3adf
Update to go1.16 2021-03-04 20:08:03 +01:00
Ludovic Fernandez 2e7833df49
chore: update linter. 2021-03-04 09:02:03 +01:00
Jean-Baptiste Doumenjou 992d4c1b94
Upgrade the CRD version from apiextensions.k8s.io/v1beta1 to apiextensions.k8s.io/v1
Co-authored-by: kevinpollet <pollet.kevin@gmail.com>
2021-03-03 15:32:04 +01:00
Tom Moulard e658712d53
Filter ingress class resources by name
Co-authored-by: SantoDE <manuel.zapf@traefik.io>
2021-03-02 21:34:03 +01:00
romain 1b21f0723f Merge v2.4 into master 2021-02-16 11:12:09 +01:00
Florian Apolloner 5ef6297daa
Fixed typo in consul catalog tests. 2021-02-10 14:48:03 +01:00
Jean-Baptiste Doumenjou d211437d6c Merge v2.4 into master 2021-02-04 10:40:53 +01:00
Harold Ozouf 2065f4c003
Fix HTTP challenge router unexpected delayed creation 2021-01-28 16:16:05 +01:00
Kevin Pollet 41d22ef17e
Improve kubernetes external name service support for UDP 2021-01-19 09:30:05 +01:00
romain 92886c46ea Merge branch v2.3 into v2.4 2021-01-11 16:26:53 +01:00
Kevin Pollet c24f75ce0b
Update copyright year for 2021 2021-01-08 19:20:04 +01:00
Romain c21597c593
Add Kubernetes Gateway Provider
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
2020-12-15 16:40:05 +01:00
kevinpollet eebbe64b36
Merge branch v2.3 into master 2020-12-11 10:58:00 +01:00
Romain 7ba907f261
IngressRoute: add an option to disable cross-namespace routing
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
2020-12-10 14:58:04 +01:00
kevinpollet 2112de6f15
Merge branch v2.3 into master 2020-11-20 11:30:07 +01:00
Romain be0845af02
Apply labelSelector as a TweakListOptions for Kubernetes informers 2020-11-20 00:18:04 +01:00
Matthias Schneider 84b125bdde
added support for tcp proxyProtocol v1&v2 to backend 2020-11-17 13:04:04 +01:00
Fernandez Ludovic 520fcf82ae Merge branch v2.3 into master. 2020-11-09 00:07:28 +01:00
Ludovic Fernandez 3a45f05e36
Update go-acme/lego to v4.1.0 2020-11-08 23:24:04 +01:00
Daniel Adams 74d1d55051
Feature: Exponential Backoff in Retry Middleware 2020-11-05 16:14:04 +01:00
Fernandez Ludovic 714a4d4f2d Merge branch v2.3 into master 2020-10-09 12:41:38 +02:00
Ludovic Fernandez 5c853766e8
fix: flaky integration tests 2020-10-09 09:32:03 +02:00
Fernandez Ludovic 86c099d629 Merge branch v2.3 into master 2020-09-17 12:32:18 +02:00
Jean-Baptiste Doumenjou c0f1e74bed
chore: move to Traefik organization.
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2020-09-16 15:46:04 +02:00
Ludovic Fernandez 660375d6e4
fix: uint64 alignment in go-kit. 2020-09-15 18:22:04 +02:00
Ludovic Fernandez 230c2e5cc2
chore: update linter. 2020-09-15 13:08:03 +02:00
Julien Salleyron 76f42a3013
add ServersTransport on services 2020-09-11 15:40:03 +02:00
Ludovic Fernandez b67a7215f6
chore: update linter. 2020-08-21 11:12:04 +02:00
Ludovic Fernandez eecc2f4dd7
Update to go1.15 2020-08-17 12:02:03 +02:00
Michael 3908ef611a
Fix documenation for ECS 2020-07-28 10:44:05 +02:00
jb doumenjou 207d0bec78 Merge v2.2 into v2.3 2020-07-22 15:49:28 +02:00
Ludovic Fernandez 2c7f6e4def
fix: drop host port to compare with SNI. 2020-07-20 18:32:03 +02:00
Julien Salleyron 0b7aaa3643
Fix domain fronting
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2020-07-17 15:38:04 +02:00
Mickael Jeanroy 45f52ca29c
fix: access logs header names filtering is case insensitive 2020-07-16 17:36:04 +02:00
Kevin Pollet 1ef93fead7
Add HTTP Provider
* feat: add HTTP provider implementation

* refactor: add SetDefaults and struct tag for the new file parser

* feat: add TLS configuration property

* refactor: rework HTTP provider implementation

* feat: provide config only once if fetched config is unchanged

* style: lint

* ui: add HTTP provider icon

* tests: simplify and fix integration test

* docs: add reference config for file

* docs: move http reference config for file

Co-authored-by: Daniel Tomcej <daniel.tomcej@gmail.com>
2020-07-15 16:56:03 +02:00
Fernandez Ludovic 6e4f5821dc Merge branch 'v2.2' into master 2020-07-15 09:37:32 +02:00
Romain 0e97a3becd
Revert domain fronting fix
* revert domain fronting changes

* reintroduce HostHeader rule

* add doc for removals
2020-07-13 17:58:03 +02:00
jb doumenjou 73ca7ad0c1 Merge remote-tracking branch 'upstream/v2.2' into mrg-current-v2.2 2020-07-10 11:23:49 +02:00
Romain 2b35397169
Disable domain fronting
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
2020-07-08 12:18:03 +02:00
Ludovic Fernandez a20e90aa17
chore: update linter. 2020-07-07 14:42:03 +02:00
Léopold Jacquot 7669f41e8e
Add custom ping http code when Traefik is terminating 2020-07-01 14:40:04 +02:00
Daniel Tomcej 73513f8371
Allow multiple secure middlewares to operate independently 2020-07-01 10:42:04 +02:00
Romain 8d3d5c068c
Provide username in log data on auth failure 2020-06-18 16:02:04 +02:00
Ludovic Fernandez cb1d0441e9
feat: use parser to load dynamic config from file. 2020-06-17 16:48:04 +02:00
Romain e5e46bf4ed
Fix ipv6 handling in redirect middleware 2020-06-17 01:10:04 +02:00
mpl 9f32292473
internal handlers: support for response modifiers
Co-authored-by: Julien Salleyron <julien@containo.us>
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2020-06-15 12:20:05 +02:00
Ludovic Fernandez 328611c619
Update linter 2020-05-11 12:06:07 +02:00
mpl 63d7ed74f1
udp: replace concurrently reset timer with ticker
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2020-03-18 14:50:06 +01:00
Ludovic Fernandez 9012f2d6b1
fix: Ingress TLS support
Co-authored-by: Julien Salleyron <julien@containo.us>
2020-03-18 13:30:04 +01:00
Ludovic Fernandez af58faafae
Drop traefik from default entry points. 2020-03-16 16:54:04 +01:00
robotte 3b85dc9618
Improve kubernetes external name service support
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
2020-03-10 12:46:05 +01:00
Ludovic Fernandez d02bb28920
Router entry points on reload. 2020-03-09 11:12:05 +01:00
Dmytro Tananayskiy cf7f0f878a Support mirroring request body
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2020-03-05 18:30:07 +01:00
Traefiker Bot a6040c623b
Entry point redirection and default routers configuration
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2020-03-05 12:46:05 +01:00
Traefiker Bot 082fb166a2
Rework access control origin configuration 2020-03-05 08:18:04 +01:00
Fernandez Ludovic e9d0a16a3b Merge 'v2.1' into master 2020-02-29 00:59:18 +01:00
Jean-Baptiste Doumenjou 665aeb34b2
Add UDP support in kubernetesCRD provider
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2020-02-26 12:28:05 +01:00
Ludovic Fernandez 336dd1d5ba
Update k3s. 2020-02-24 17:56:05 +01:00
Daniel Tomcej a474e196ea
Add TLSStores to Kubernetes CRD 2020-02-24 17:14:06 +01:00
Ludovic Fernandez 101aefbfe8
Update dependencies 2020-02-24 16:06:05 +01:00
Ludovic Fernandez a20a5f1a44
Improvement of the unique name of the router for Ingress. 2020-02-18 17:34:05 +01:00
Julien Salleyron ee6d28b25e
Build all UDP services on an entrypoint 2020-02-17 18:02:04 +01:00
Felipe 1c764052f7
Add http request scheme to logger 2020-02-17 10:46:04 +01:00
Ludovic Fernandez d501c0786f
Early filter of the catalog services. 2020-02-13 10:26:04 +01:00
mpl 115d42e0f0
UDP support
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2020-02-11 01:26:04 +01:00
Fernandez Ludovic aa21351d0d Merge branch v2.1 into master 2020-02-10 16:47:13 +01:00
Ludovic Fernandez 97109db82b
fix: KV flaky tests. 2020-02-10 15:48:06 +01:00
Ludovic Fernandez ea2d65f8bb
Update valkeyrie to fix the support of Redis. 2020-02-10 14:52:05 +01:00
Ludovic Fernandez a4e8d3cb36 doc: use the same entry point name everywhere 2020-01-23 16:36:07 +01:00
Fernandez Ludovic 60e247862a Merge branch v2.1 into master 2020-01-21 18:41:46 +01:00
Julien Salleyron c296a4a967 Remove Content-Type auto-detection
Co-authored-by: mpl <mathieu.lonjaret@gmail.com>
2020-01-21 18:06:03 +01:00
Ludovic Fernandez 72e702a15a Support 'networking.k8s.io/v1beta1' ingress apiVersion 2020-01-16 10:14:06 +01:00
Ludovic Fernandez 6b7be462b8 Add Ingress annotations support
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
2020-01-14 15:48:06 +01:00
Jean-Baptiste Doumenjou 4f52691f71 Add namespace attribute on IngressRouteTCP service 2020-01-14 12:14:05 +01:00
Fernandez Ludovic da3d814c8b Merge branch 'v2.1' into master 2020-01-07 19:13:48 +01:00
Ludovic Fernandez b380522df8 fix: dashboard redirect loop 2019-12-24 17:36:04 +01:00
Manuel Zapf 431abe79f3 Query consul for service health separately 2019-12-19 11:00:07 +01:00
Ludovic Fernandez 7f085df240 chore: update some dependencies 2019-12-12 17:48:05 +01:00
Fernandez Ludovic 829649e905 Merge branch 'v2.1' into master 2019-12-03 10:43:25 +01:00
Fernandez Ludovic 89919dbe36 Merge branch 'v2.0' into v2.1 2019-12-02 18:20:29 +01:00
Jean-Baptiste Doumenjou efcc9d51d4 Healthcheck managed for all related services
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-11-29 12:40:05 +01:00
Ludovic Fernandez 9b9f4be6a4 Add KV store providers (dynamic configuration only)
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-11-28 21:56:04 +01:00
Michael a99673122e Service registered with same id on Consul Catalog 2019-11-27 16:24:06 +01:00
Maxim Fominykh bd75eddc8e Duration order consistency when multiplying number by time unit 2019-11-26 21:38:03 +01:00
Ludovic Fernandez bfa61c8f67 fix: use MaxInt32. 2019-11-15 20:14:04 +01:00
mpl f30a52c2dc Support for all services kinds (and sticky) in CRD
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-11-14 19:28:04 +01:00
Ludovic Fernandez 424e2a9439 Add internal provider
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-11-14 16:40:05 +01:00
Michael 2ee2e29262 Fix empty address for registering service without IP 2019-11-14 11:10:06 +01:00
Ludovic Fernandez 5f8fb6c226 fix: Consul Catalog documentation. 2019-10-29 12:32:05 +01:00
Andrew Privalov 7be2db6e86 Add Consul Catalog provider 2019-10-15 17:34:08 +02:00
Michael d0ed814669 Update jaeger dependencies 2019-10-15 16:30:06 +02:00
Ludovic Fernandez c8fa059064 fix: docker service name. 2019-09-26 12:26:05 +02:00
Ludovic Fernandez 29efac3e5e fix: update linter. 2019-09-26 11:00:06 +02:00
Michael 255e88fbf6 Fix kubernetes id name 2019-09-13 20:44:04 +02:00
Julien Salleyron 685c6dc00c Add weighted round robin load balancer on TCP
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-09-13 20:00:06 +02:00
Ludovic Fernandez 8e18d37b3d fix: logger and context. 2019-09-13 19:28:04 +02:00
Julien Salleyron b55be9fdea On client CloseWrite, do CloseWrite instead of Close for backend
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-09-13 17:46:04 +02:00
Ludovic Fernandez 6e8138e19b Update golangci-lint 2019-09-10 17:52:04 +02:00
Julien Salleyron 34be181706 Add provider in middleware chain 2019-09-10 16:12:05 +02:00
Julien Salleyron d044c0f4cc New API security 2019-09-06 15:08:04 +02:00
Ludovic Fernandez f843f260ee fix: stripPrefix and stripPrefixRegex. 2019-09-03 20:32:03 +02:00