24 Commits

Author SHA1 Message Date
Markus Cisler
14d64e09f2 Change DomainFilter to apply to records as well
This moves `domain_filter.go` to the `endpoint` package to make it
possible to filter and exclude record names in
`plan.filterRecordsForPlan()` so it does not have to be implemented in
every single provider.

Because some providers access `DomainFilter.filters` directly it had to
be exported.
2020-02-24 11:19:45 +01:00
Oguz Kilcan
21275c9aa0
Updated minTTL variable type from int64 to Duration 2020-02-12 12:18:18 +01:00
Oguz Kilcan
b6111b9768
Refactoring after review
* Updated TTL variable type to int64
* Updated rfc2136 contructor to have nil as last variable
* Removed unnecessary variable `data`
2020-02-11 10:41:09 +01:00
Oguz Kilcan
86c9332b17
Add option to define minimum TTL for rfc2136 provider 2020-02-06 18:23:28 +01:00
tariqibrahim
672b00d821 add ctx parameter to provider interface and aws API 2020-01-12 13:16:55 -08:00
Tariq Ibrahim
41ba7f1ff5
rename project root package to sigs.k8s.io 2020-01-06 08:08:35 -08:00
Nick Jüttner
f763d2a413 Move into kubernetes-sigs organization (#1245)
* Move into kubernetes-sigs organization

* Disable labeler action for forks
2019-11-01 17:10:19 +01:00
NIPE-SYSTEMS
953d2eddeb
Change ApplyChanges in RFC2136 to batch update
This changes the ApplyChanges in the RFC2136 provider to issue a batch update
to the DNS server instead of issueing an update for each updated record. An
update is not sent to the server if there are no changes to send.

Also the RemoveRecord function only issues a RR removal instead of an RRset
removal so external-dns is now able to remove distinct records.
2019-08-24 11:04:37 +02:00
chauquie
67b6c0ccc4 fix issue #1081 when merging multiple targets 2019-06-27 18:33:49 +02:00
Graeme Lawes
cbb5d25f93 Log RR adds/deletes as Info in provider/rfc2136 2019-05-21 19:25:34 -04:00
Michael Fraenkel
fab942f486 Cache the endpoints on the controller loop
The controller will retrieve all the endpoints at the beginning of its
loop. When changes need to be applied, the provider may need to query
the endpoints again. Allow the provider to skip the queries if its data was
cached.
2019-05-07 19:51:53 -04:00
Christian Mösl
272bfd1e12
remove unnecessary parameter check when started with insecure flag 2019-03-27 17:37:13 +01:00
Arief Hidayat
8990be05dc set log level to debug when axfr is disabled 2019-03-19 13:32:17 +08:00
Himanshu Pandey
5829f02194 Fixed typo in debug output 2019-02-12 09:09:01 -08:00
Kubernetes Prow Robot
92f76647c8
Merge pull request #837 from lachlancooper/fix-rfc2136-typos
Fix typos in rfc2136 provider
2019-01-04 08:48:45 -08:00
Kubernetes Prow Robot
426db9b955
Merge pull request #838 from lachlancooper/fix-rfc2136-dry-run
Fix dry-run mode in rfc2136 provider
2019-01-04 08:47:06 -08:00
Lachlan Cooper
736a01633e Fix dry-run mode in rfc2136 provider
In dry-run mode we need to return early to avoid sending messages.

Fixes #816.

Signed-off-by: Lachlan Cooper <lachlancooper@gmail.com>
2019-01-04 11:02:29 +11:00
Lachlan Cooper
d93f6ec24e Fix typos in rfc2136 provider
The rfc2136Actions interface was misspelled.

Signed-off-by: Lachlan Cooper <lachlancooper@gmail.com>
2019-01-04 10:49:20 +11:00
Ivan Filippov
bb6c5f1805 RFC2136 seems to require one IP Target per RRSET instead of multiple IPs per RRSET. 2019-01-03 05:01:50 -07:00
Vladislav Troinich
36ff04d5cd Small style fix after code review 2018-10-11 15:06:42 +03:00
Vladislav Troinich
dc2e1c07e5 Fix interface export issue 2018-09-24 16:30:57 +03:00
Vladislav Troinich
d32a03ad32 Add couple of tests for RFC2136 provider 2018-09-24 10:52:28 +03:00
Vladislav Troinich
c83c079a4f Add small comment to push CLA check 2018-09-07 12:20:48 +03:00
Vladislav Troinich
0151de539c Add RFC2136 provider 2018-09-06 11:46:01 +03:00