Commit Graph

4924 Commits

Author SHA1 Message Date
xianlubird
a77dcddd98 Add some test case 2018-08-31 14:43:20 +08:00
xianlubird
3e771e5b72 Change README.md from 0.4 to 0.5.6 2018-08-31 10:06:25 +08:00
xianlubird
98f0013b2a Fix google file format problem 2018-08-30 20:09:08 +08:00
xianlubird
e488e2bb0f Add aliyun sts token support 2018-08-30 18:48:31 +08:00
Li Yi
eab3f50802 Fix test case 2018-08-29 16:15:13 +08:00
Li Yi
808a5aef3a Add dep constraint for Alibaba Cloud 2018-08-29 09:40:07 +08:00
Li Yi
1db16f35af Initial support for Alibaba Cloud 2018-08-28 17:30:36 +08:00
shashidharatd
1529c0231f Add documentation for CRD source 2018-08-22 19:37:21 +05:30
shashidharatd
8fd477ec2d Fix a possible nil map access 2018-08-22 19:37:21 +05:30
shashidharatd
3f85526600 Add flag specific tests for crd source 2018-08-22 19:37:21 +05:30
shashidharatd
79ad3a8b1a Add unit tests for crd source 2018-08-22 19:37:21 +05:30
shashidharatd
18aee82d3d Add crd source which gets Endpoints from CRD 2018-08-22 19:37:21 +05:30
shashidharatd
cf11761b71 Auto generated deepcopy functions for DNSEndpoint CRD 2018-08-22 19:37:21 +05:30
shashidharatd
ddef0a9ccc Add wrapper structure for Endpoint in sync with definition of CRD 2018-08-22 19:37:21 +05:30
wvl
4633573564 Add generic metrics for Source & Registry Errors (#652)
* Add generic metrics for Source & Registry Errors

Change-Id: Ie145f200f815712ec372fca1c897bee3710b045b

* add label to distinguish read errors

Change-Id: I9fb1295c6fb3b2c5814ba942b4af91e1fca1c2c1

* detect write errors

Change-Id: I524360923359a5aebe6224c4e32553b138dfbdab

* revert back to label less metrics

Change-Id: Id689e0ba8c3a40a520f5af73219a4e202c167e03

* fixup Gopkg.lock

Change-Id: I3e3fdc8ad792128421b92db587bdde6e788fea58
2018-08-20 18:15:57 +02:00
Noah Kantrowitz
19504cbbd9 Create a non-root user to run the container process as. 2018-08-18 17:39:57 -04:00
Devatoria
05068e3ad3 Add filter by service type feature 2018-08-17 17:14:44 +02:00
Nick Jüttner
59210df9d4
Merge pull request #683 from kubernetes-incubator/external-dns-v0.5.5
Updating changelog for new release v0.5.5
2018-08-17 13:46:48 +02:00
Nick Jüttner
ce525ce507 Updating changelog for new release v0.5.5 2018-08-17 13:28:28 +02:00
Nick Jüttner
c470dfc7eb
Merge pull request #675 from jvassev/dyn-cache-zone
Dyn: cache records per zone using zone's serial number
2018-08-16 17:52:36 +02:00
Nick Jüttner
04c0861565
Merge pull request #682 from greut/egoscale-v0.11
exoscale: bump version to 0.11
2018-08-16 17:47:52 +02:00
Nick Jüttner
bbd0cad38f
Merge branch 'master' into egoscale-v0.11 2018-08-16 17:23:32 +02:00
Nick Jüttner
dbfc884ba3
Merge pull request #678 from cliedeman/fix/linode-user-agent
Set Linode user agent
2018-08-16 17:21:59 +02:00
Nick Jüttner
d4523be44c
Merge pull request #681 from jvassev/timeout
Configure req timeout calling k8s APIs
2018-08-16 16:50:41 +02:00
Yoan Blanc
9e980e7696
exoscale: bump version to 0.11
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
2018-08-16 15:54:33 +02:00
Julian Vassev
e6cae22ec4 Configure req timeout calling k8s APIs
When running in a pod sometimes the request to get ingreses/services
stalls indefinitely. A simple pod restart fixes this. Hard to reproduce
but I got lucky and did thread dump which revealed a gorouting blocked
on call to k8s.

What's new is a `--request-timeout` flag that makes requests to k8s
bounded in time. The default is 30s - this may cause some deployments
with a slow api-server to timeout.
2018-08-16 02:59:21 -07:00
cliedeman
ba6c82e043 Set Linode user agent and change to linode/linodego package 2018-08-16 11:17:54 +02:00
Nick Jüttner
fd3bed1f87
Merge pull request #676 from lb-saildrone/add-assumerole-aws-sd
adding assume role to aws_sd provider
2018-08-15 11:40:53 +02:00
Loren Brindze
65b33ad7e2 adding assume role to aws_sd provider 2018-08-14 09:44:12 -07:00
Nick Jüttner
2ac9f59686
Merge pull request #674 from cliedeman/feature/linode
Linode Provider Implementation
2018-08-14 17:40:00 +02:00
Julian Vassev
5a59d451ec Dyn: cache records per zone using zone's serial number
The only thing preventing use of a smaller interval is the API request
limit. Caching records by the zone's serial number would let users set a
smaller interval and still not hit Dyn's request limit if there aren't
any changes to the zone since the last time external-dns has run.

In a dynamic setting bigger interval is still the main throttling
mechanism.
2018-08-14 08:01:16 -07:00
cliedeman
65f8b914b1 Linode Provider Implementation 2018-08-14 16:26:14 +02:00
Nick Jüttner
340161a4e5
Merge pull request #671 from jvassev/retry-on-rate-limit
Retry calls to dyn on ErrRateLimited
2018-08-13 16:33:30 +02:00
Raffaele Di Fazio
c090c989e5
Merge pull request #673 from christopherhein/bug/cloudflare-link
Fixes #672 Cloudflare Link Language Specificity
2018-08-12 13:50:46 +02:00
Christopher Hein
a99832a12d
Fixes #672 Cloudflare Link Language Specificity
**Why:**

* Cloudflare link shouldn't have the langauge and should rely on the
  browser

**This change addresses the need by:**

* closes #672

Signed-off-by: Christopher Hein <me@christopherhein.com>
2018-08-11 22:49:02 -07:00
Julian Vassev
88027065ce Retry calls to dyn on ErrRateLimited
As per https://help.dyn.com/managed-dns-api-rate-limit/ clients
should idle for at least a minute.

Fix a few typos, more debug logging.
2018-08-11 03:10:18 -07:00
Nick Jüttner
4c06f78d4e
Merge pull request #667 from andrewsomething/master
Add support to configure TTLs on DigitalOcean.
2018-08-10 16:14:25 +02:00
Andrew Starr-Bochicchio
19476bd869 s/Ttl/TTL/ 2018-08-10 09:58:05 -04:00
Andrew Starr-Bochicchio
edc018cfd1 Add support to configure TTLs on DigitalOcean. 2018-08-09 18:43:23 -04:00
George Angel
77c3fdbaa8 log level warning option (#664)
time="2018-08-06T20:45:08Z" level=fatal msg="flag parsing error: enum value must be one of panic,fatal,error,warning,info,debug, got 'warn'"
2018-08-07 08:25:13 +02:00
Nick Jüttner
21f4b5dc3d
Merge pull request #655 from shashidharatd/bump-client-go
Bump k8s.io/client-go version to latest stable (v8.0.0)
2018-08-06 09:53:26 +02:00
shashidharatd
edd0c4eac7 Bump version of k8s.io/client-go to ~8.0.0 2018-07-31 23:02:48 +05:30
shashidharatd
e26b73e73f Fix usage of k8s.io/client-go package 2018-07-31 23:02:03 +05:30
Toshikuni Fukaya
44f319e6a0 Support A record for multile IPs for a headless services.
Non statefulset pods associating to a headless service have different
IPs, but have a same hostname. In this case, external-dns registered
only one A record due to attempting to register multiple A records for
a same hostname for each IP.
This patch now registers one A record having multiple IPs.
2018-07-27 19:20:27 +09:00
Rodrigo Menezes
aa8d04f18c Fix for empty target annotation. (#647)
* Fix for empty target annotation.

* add test
2018-07-26 19:33:50 +02:00
Arttii
874502ebf8 adding a flag to optionally publish hostIP instead of podIP for headless services (#597)
* Added HostPort feature docs

* Fixed some typos

* Fixing hostIP,podIP change

Fixing hostIP,podIP change

Merge artifacts in docs

Naming typo

removing unnecessary files

fix(source): fix misleading log message

Naming typo

removing unnecessary files

* fix(source): fix misleading log message
2018-07-26 18:16:32 +02:00
Martin Linkhorst
b5b8d618e9
Merge branch 'master' into txtRecordHandling 2018-07-23 13:52:22 +02:00
Nick Jüttner
b9f7dd8f8f
Merge pull request #624 from nenadilic84/patch-1
Update DO CNAME type API request to prevent error 422
2018-07-19 15:22:31 +02:00
Nick Jüttner
a7892670c8 Change a test to see if CNAMES append a dot 2018-07-19 14:57:44 +02:00
Aditya Purandare
5c552a953d fix log message for #592 when no updates in hosted zones (#634) 2018-07-16 10:19:53 +02:00