Commit graph

322 commits

Author SHA1 Message Date
Ludovic Fernandez d501c0786f
Early filter of the catalog services. 2020-02-13 10:26:04 +01:00
Jean-Baptiste Doumenjou 322c329c6f
fix: use the right error in the log 2020-02-12 18:28:05 +01:00
Daniel Tomcej 7c430e5c9d
Allow PreferServerCipherSuites as a TLS Option 2020-02-12 18:06:04 +01:00
FuNK3Y 0c90f6afa2
Fix traefik behavior when network_mode is host 2020-02-11 11:56:05 +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
Julien Salleyron 1b63c95c4e
Fix kubernetes providers shutdown and clean safe.Pool 2020-02-03 17:56:04 +01:00
Daniel Tomcej 03689251c5
Allow wildcard hosts in ingress provider 2020-02-03 11:24:06 +01:00
Ludovic Fernandez a4e8d3cb36 doc: use the same entry point name everywhere 2020-01-23 16:36:07 +01:00
Ludovic Fernandez dce6356d75 fix: etcd provider name. 2020-01-22 18:26:03 +01:00
mpl c24e74efe3 systematically call updateIngressStatus 2020-01-22 03:44:04 +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
Julien Salleyron f84d947115 Use the calculated port when useBindPortIP is enabled 2020-01-20 15:56:05 +01:00
Ludovic Fernandez 9544dece07 fix: invalid service definition. 2020-01-20 15:28:06 +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
Ludovic Fernandez 4329d393e6 Update license date 2020-01-14 15:22:05 +01:00
Jean-Baptiste Doumenjou 4f52691f71 Add namespace attribute on IngressRouteTCP service 2020-01-14 12:14:05 +01:00
mpl 6f4aefffe7 Add period for rate limiter middleware 2020-01-08 11:44:04 +01:00
Fernandez Ludovic da3d814c8b Merge branch 'v2.1' into master 2020-01-07 19:13:48 +01:00
Gary Kramlich bd676922c3 k8s Ingress: fix crash on rules with nil http 2020-01-07 16:26:08 +01:00
Jean-Baptiste Doumenjou 7283d7eb2f Log the ignored namespace only when needed 2020-01-07 10:46:04 +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
Dmitry Sharshakov 125470f110 Support SSH connection to Docker 2019-12-18 15:28:04 +01:00
Kenneth Peiruza b501c6d5bf Added ExternalName https support for Kubernetes CRD, as done in v2.0 2019-12-16 21:48:03 +01:00
Fernandez Ludovic 2d3fc613ec Merge branch 'v2.1' into master 2019-12-11 22:14:26 +01:00
Ludovic Fernandez ddbf4470a1 fix: debug endpoint when insecure API. 2019-12-04 15:28:07 +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
Ludovic Fernandez cf1ace3a73 fix: consul catalog constraints. 2019-11-29 17:16: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
Wagum 028683666d Update deprecated function call in k8s providers 2019-11-28 00:04:04 +01:00
Michael a99673122e Service registered with same id on Consul Catalog 2019-11-27 16:24:06 +01:00
Manuel Zapf 5b1dc0bfbd Change service name in rancher provider to make webui service details view work 2019-11-27 11:12:07 +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
Kelvin Sarink 5a3e325742 Add tls option for Elliptic Curve Preferences 2019-11-03 15:54:04 +01:00
Ludovic Fernandez c5ec12cd56 feat: add consul catalog options 2019-10-31 11:56:05 +01:00
Ludovic Fernandez 3410541a2f Conditionnal compression based on Content-Type 2019-10-31 11:36:05 +01:00
kmeekva 1f39083555 Add support for MaxVersion in tls.Options 2019-10-29 12:58:05 +01:00
Fernandez Ludovic d66dd01438 Merge branch 'v2.0' into master 2019-10-29 09:52:45 +01:00
Ludovic Fernandez 5327ce543b Remove unnecessary reload of the configuration. 2019-10-25 15:46:05 +02:00
Kenneth Peiruza 0ec84ec597 Adding support for HTTPs backends with Kubernetes ExternalName services 2019-10-18 11:12:05 +02:00
Oisin Canty 6a9d21e9aa Fix spelling mistake: "founded" -> "found" 2019-10-18 10:54:05 +02:00
Andrew Privalov 7be2db6e86 Add Consul Catalog provider 2019-10-15 17:34:08 +02:00
Ludovic Fernandez cb3328dca3 Normalize service and router names for ingress. 2019-10-14 11:18:04 +02:00
Ludovic Fernandez e7b7ae94b0 fix: add filename in the file provider logs. 2019-10-11 17:20:05 +02:00
Ludovic Fernandez f2656e62dc fix: default router name for k8s ingress. 2019-10-09 17:16:07 +02:00
XciD a2cd69b654 Fix typo in log 2019-10-07 13:12:05 +02:00
Ludovic Fernandez 48f11900d3 fix: default passHostHeader for file provider. 2019-09-30 18:12:04 +02:00
mpl c6e783e7c3 clarify automatic service creation/assignment with labels 2019-09-26 12:48:05 +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
Ludovic Fernandez ea78808e74 fix doc about file.filename 2019-09-26 09:24:04 +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
Julien Salleyron 401b3afa3b Add passHostHeader and responseForwarding in IngressRoute
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-09-13 16:46:04 +02:00
Ludovic Fernandez 7357d5eae2 fix: services configuration documentation. 2019-09-12 10:18:04 +02:00
mpl 1388266102 Finish kubernetes throttling refactoring 2019-09-10 18:30:05 +02:00
Ben Weissmann 43af0b051f Throttle Kubernetes config refresh 2019-09-10 18:30:05 +02:00
Ludovic Fernandez 6e8138e19b Update golangci-lint 2019-09-10 17:52:04 +02:00
Julien Salleyron fb8edd86d5 k8s ErrorPage middleware now uses k8s service 2019-09-10 17:24:03 +02:00
Ludovic Fernandez be90b20a5d fix: TLS domains with IngressRoute. 2019-09-09 13:52:04 +02:00
Julien Salleyron d044c0f4cc New API security 2019-09-06 15:08:04 +02:00
Julien Salleyron 1959e1fd44 Auth middlewares in kubernetes CRD uses secrets 2019-09-05 13:42:04 +02:00
Julien Salleyron 770b3739e0 The chain middleware in k8s use middlewareRef 2019-09-03 19:20:04 +02:00
Ludovic Fernandez af9762cf32 Improve API for the web UI 2019-09-02 02:38:04 -07:00
mpl 4ec90c5c0d Add rate limiter, rename maxConn into inFlightReq
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-08-26 03:20:06 -07:00
Julien Salleyron 6fed76a687 WeightedRoundRobin load balancer
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2019-08-26 01:30:05 -07:00
Daniel Tomcej 9e3f549341 Add TLS-enabled Router 2019-08-14 10:16:06 -07:00
Steven E. Harris 2895ad21f3 Correct Kubernetes Ingress and IngressRoute port heuristic for choosing HTTPS 2019-08-14 09:58:04 -07:00
Fernandez Ludovic 4c5e7a238d chore: go module 2019-08-12 05:06:04 -07:00
Ludovic Fernandez c2d440a914 chore: update docker and k8s 2019-08-05 09:24:03 -07:00
Ludovic Fernandez 28500989bc Improve acme logs. 2019-07-22 10:16:04 +02:00
mpl 092aa8fa6d API: remove configuration of Entrypoint and Middlewares
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-07-19 12:28:07 +02:00
Ludovic Fernandez f75f73f3d2 Certificate resolvers.
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-07-19 11:52:04 +02:00
Ludovic Fernandez 4dc448056c fix: TLS configuration from directory. 2019-07-18 16:26:05 +02:00
Ludovic Fernandez 093658836e Restrict traefik.toml to static configuration. 2019-07-15 10:22:03 +02:00
Daniel Tomcej 51486b18fa Enhance REST provider 2019-07-13 01:24:03 +02:00
Jean-Baptiste Doumenjou 2c7cfd1c68 Expand Client Auth Type configuration 2019-07-12 17:50:04 +02:00
Ludovic Fernandez c8bf8e896a Move dynamic config into a dedicated package. 2019-07-10 09:26:04 +02:00
Jean-Baptiste Doumenjou 8ab33db51a Renamed kubernetes provider in kubernetesIngress provider 2019-07-08 21:36:03 +02:00
Ludovic Fernandez 0ee5d3d83f Automatic generation of the doc for the CLI flags and env vars. 2019-07-08 11:00:04 +02:00
Ludovic Fernandez c39aa5e857 Add scheme to IngressRoute. 2019-07-05 17:24:04 +02:00
Ludovic Fernandez c7d336f958 Use the same case everywhere 2019-07-01 11:30:05 +02:00
Ludovic Fernandez 4245096be4 Define a TLS section to group TLS, TLSOptions, and TLSStores.
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-06-27 23:58:03 +02:00
Ludovic Fernandez e69d4cba88 Support YAML for the dynamic configuration. 2019-06-26 18:18:04 +02:00
mpl 96962dd21f Handle cross-provider middleware in kubernetes CRD
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-06-26 14:14:05 +02:00
Ludovic Fernandez 36d48224b5 fix: error log message. 2019-06-26 09:10:03 +02:00
Jean-Baptiste Doumenjou 80b35575df Define TLS options on the Router configuration for Kubernetes
Co-authored-by: juliens <julien@containo.us>
2019-06-21 17:18:05 +02:00
Ludovic Fernandez fe68e9e243 New constraints management.
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-06-21 09:24:04 +02:00
Jean-Baptiste Doumenjou 85ce16b34f Define TLS options on the Router configuration
Co-authored-by: juliens <julien@containo.us>
2019-06-17 18:14:08 +02:00
Ludovic Fernandez 8d7eccad5d New static configuration loading system.
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-06-17 11:48:05 +02:00
Amir Keibi d18edd6f77 HttpOnly and Secure flags on the affinity cookie 2019-06-13 00:42:06 +02:00
Daniel Tomcej 01c8798e4e Update docker api version 2019-06-12 02:54:03 +02:00
Wenxuan Zhao 1f2fe08c33 Allow SANs for wildcards domain. 2019-06-12 02:54:03 +02:00
mpl c4df78b4b9 Add support for TCP (in kubernetes CRD)
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-06-11 15:12:04 +02:00
Julien Salleyron 518a37e776 rework loadbalancer support 2019-06-05 22:18:06 +02:00
Jean-Baptiste Doumenjou 17141b3589 Remove timeout/interval from the ACME Provider 2019-05-10 09:58:05 +02:00
Julien Salleyron d1d2611665 Handle TCP in the marathon provider
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-04-15 18:22:07 +02:00
Ludovic Fernandez ee0e014617 Insensitive case for allow-empty value. 2019-04-09 16:50:06 +02:00
Manuel Zapf e1d097ea20 Add Rancher provider again 2019-04-05 12:22:04 +02:00
Daniel Tomcej d2b38e6ac4 Enable CORS configuration 2019-04-02 10:40:04 +02:00
Ludovic Fernandez da20db862d fix: validation system 2019-04-01 15:30:07 +02:00
Ludovic Fernandez 2916f540c1 Remove BaseProvider 2019-03-27 15:02:06 +01:00
mpl 3e76c25887 Document the TLS with ACME case
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-03-26 11:12:04 +01:00
Ludovic Fernandez 2e085fa253 Remove old links in readme 2019-03-22 15:16:06 +01:00
Julien Salleyron 0f2c4fb5f4 Add support for tcp labels in docker provider 2019-03-21 15:22:06 +01:00
mpl f99a473436 Fix log msgs about label selector 2019-03-19 17:30:04 +01:00
Julien Salleyron cb417b8077 Fix problem in aggregator provider 2019-03-19 10:04:04 +01:00
Julien Salleyron 50e24f461c Remove IngressEndpoint in CRD provider 2019-03-18 14:38:04 +01:00
Ludovic Fernandez 72ffa91fe0 Clean old 2019-03-18 11:30:07 +01:00
Julien Salleyron f3ecc040c8 (re)Add update ingress status 2019-03-18 10:10:04 +01:00
Ludovic Fernandez e271378a97 Clean files during tests. 2019-03-18 09:34:03 +01:00
Ludovic Fernandez f1b085fa36 Move code to pkg 2019-03-15 09:42:03 +01:00