91 Commits

Author SHA1 Message Date
Kevin Pollet d8d913afb3 Update golangci-lint to v1.48.0 2022-08-16 16:42:07 +02:00
Antoine 2d87edadb8 Fix CoreDNS Detection 2022-08-03 09:48:08 +02:00
Antoine 1125b11e3f Remove Maxium CoreDNS Version Requirement 2022-08-02 16:28:09 +02:00
Kevin Pollet a8036b80d9 Update to go1.17 2022-01-10 09:58:21 +01:00
Kevin Pollet 9a24d2ffcc Update k8s.io/client-go dependency to v0.22.5 2022-01-04 10:26:06 +01:00
JP Roemer 5b3b30ba10 Properly detect CoreDNS version with suffixes and bump support to CoreDNS < 1.9.0 2021-08-08 20:04:07 +02:00
Kevin Pollet 376b3dcea6 Update to go1.16 2021-08-08 19:30:08 +02:00
Michael 828353e846 Docker authentication 2020-11-03 17:40:09 +01:00
JP Roemer 3ebe16a243 Allow CoreDNS version strings to contain sufixes 2020-11-03 10:10:04 +01:00
Kevin Pollet 0afa0f8785 Upgrade golangci-lint version to v1.31 2020-09-17 14:48:04 +02:00
Kevin Pollet 66f6556c96 Rename to Traefik Mesh 2020-09-16 18:12:04 +02:00
Kevin Pollet 8e95dd2d62 Upgrade golangci-lint version to v1.30 2020-09-04 14:34:03 +02:00
Harold Ozouf 30aad012eb Improve prepare command logs 2020-08-31 09:46:03 +02:00
Kevin Pollet 722b3cf495 Remove unnecessary RBAC rules for controller and proxy 2020-08-27 17:38:03 +02:00
Harold Ozouf 15b57b3ab5 Check SMI CRDs version before starting the controller 2020-08-27 09:42:03 +02:00
Harold Ozouf a4a789b126 Fix timeout on start informers 2020-08-26 16:18:03 +02:00
Harold Ozouf 860afb90c4 Always update CoreDNS deployment in prepare phase 2020-08-26 11:34:05 +02:00
Harold Ozouf 064684d08d Fix controller signal handling 2020-08-25 12:36:03 +02:00
Harold Ozouf a71a792c7f Add support for TrafficSplit filtering 2020-08-24 11:12:04 +02:00
Harold Ozouf 64b9434388 Add support for header-based filtering on TrafficTargets 2020-08-19 16:18:05 +02:00
Kevin Pollet 21e0827568 Removes unnecessary traefik pkg dependencies 2020-08-18 17:46:04 +02:00
Harold Ozouf 03388c3b93 Update SMI resource versions 2020-08-17 16:20:04 +02:00
Harold Ozouf e4e2866ec3 Update smi-sdk-go to v0.4 2020-08-05 12:38:04 +02:00
Kevin Pollet 4385f44aaf Use vanilla Traefik image for mesh proxies 2020-07-30 12:30:04 +02:00
Kevin Pollet a54e9b3e91 Fix CoreDNS config if version is greater than or equal to 1.7 2020-07-27 11:22:03 +02:00
Kevin Pollet c662c8022f Use Kubernetes semver to add topology keys if supported 2020-07-23 15:00:04 +02:00
Harold Ozouf 61da9e94f5 Evaluate all services targeted by a TrafficTarget even if one of them already has a TrafficSplit 2020-07-16 18:28:04 +02:00
Harold Ozouf e7ab8e5717 Fix unable to find Pod "@" 2020-07-16 17:49:03 +02:00
Kevin Pollet 1f68d540f2 Create optional kube-dns configmap if needed
* fix: create the optional kube-dns configmap if needed

* review: apply @jspdown suggestions
2020-07-03 15:14:04 +02:00
Kevin Pollet 2be1234dd1 Wait for worker goroutine termination before exiting controller loop
* fix: wait for worker termination before exiting controller loop

* refactor: use a context in controller run method

* refactor: clean how min and max ports are defined

* review: remove context parameter in run method
2020-07-03 10:00:03 +02:00
Harold Ozouf 78cfc85848 Fix HTTP/TCP/UDP port limits 2020-07-01 19:28:04 +02:00
Kevin Pollet e32cc85abc Dedupe the service pods indexed in the topology 2020-06-26 11:46:04 +02:00
Kevin Pollet ad8ab8098e Support named TargetPort in service resources 2020-06-25 10:46:03 +02:00
Kevin Pollet 6f3117c4f0 Support CoreDNS 1.7.0 2020-06-23 09:28:04 +02:00
Kevin Pollet 1f010a3cd2 Fix non-working CoreDNS patch on AKS 2020-06-23 09:06:04 +02:00
Brendan Le Glaunec 6dede87938 Add a max retry for getting coredns service 2020-06-19 11:42:04 +02:00
Harold Ozouf c17c49945a Stop accepting multiple TrafficSplits or both TrafficSplit and TrafficTarget on the same Service 2020-06-19 08:06:03 +02:00
Harold Ozouf 29225445e9 Add watch namespaces option to the controller 2020-06-16 15:12:04 +02:00
Harold Ozouf f6f2c7bf81 Stop wrapping nil error when patching DNS 2020-06-16 11:22:03 +02:00
William Albertus Dembo 445095c5fd Improve log clarity about missing pod keys for provider 2020-06-15 14:18:04 +02:00
Kevin Pollet cc87b95fc2 Use custom env and file loaders to load Maesh config 2020-06-11 12:30:03 +02:00
Harold Ozouf 27c229e1b3 Ignore ExternalName services 2020-06-09 16:16:03 +02:00
Daniel Tomcej 50db171cb4 Rename method and vars for loop removal 2020-06-02 18:04:04 +02:00
Kevin Pollet 4deb1b5050 Retrieve port mapping from existing shadow services 2020-06-02 17:08:03 +02:00
Harold Ozouf 617298e5b5 Move API outside of the Controller 2020-06-02 09:38:04 +02:00
Daniel Tomcej a8681f8cb4 Add error handling to the informer startup 2020-05-27 20:02:03 +02:00
Daniel Tomcej 736427dc58 Patch our CoreDNS implementation in kube-dns mode 2020-05-27 12:48:04 +02:00
Kevin Pollet 821fd1a0cf Rework controller loop to use a work queue 2020-05-25 18:00:04 +02:00
Kevin Pollet 06d105eae9 Add default config values for pollInterval and pollTimeout 2020-05-25 17:16:04 +02:00
Daniel Tomcej 6d05f4ebcd Patch and unpatch DNS configmap 2020-05-25 13:06:04 +02:00