tanujd11
f52cc1f1a8
fix: heritage txt record was not able to be created for txt record
...
Signed-off-by: tanujd11 <dwiveditanuj41@gmail.com>
2023-12-27 23:23:11 +05:30
Daniel Sullivan
d828e518e1
Fix batch size override in test
2023-11-09 11:28:46 +01:00
Daniel Sullivan
f8807aca50
Shorten batch size test
2023-11-09 10:47:57 +01:00
Daniel Sullivan
5469ab60d0
Use variable for DynomoDB batch size
2023-11-09 10:47:34 +01:00
Daniel Sullivan
b83935bb73
Apply suggestions from code review
...
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2023-11-09 10:33:50 +01:00
Daniel Sullivan
4a8dbc5a6b
fix: dynamodb registry when statements over 25
2023-11-07 17:10:13 +01:00
Seweryn Chlewicki
66b5b250fa
Make the nonce stable when generating delete records
2023-10-05 20:07:41 +01:00
Kubernetes Prow Robot
e0405a2e60
Merge pull request #3748 from johngmyers/exclude-managed
...
Add --exclude-record-types flag
2023-09-18 22:37:49 -07:00
Kubernetes Prow Robot
f42e4fe854
Merge pull request #3910 from johngmyers/a-alias
...
Represent AWS Alias records as record type A
2023-09-18 12:08:57 -07:00
John Gardiner Myers
94713c20c6
Add --exclude-record-types flag
2023-09-15 18:45:09 -07:00
Kubernetes Prow Robot
7519a778dd
Merge pull request #3912 from Sewci0/fix/txt-registry-case
...
[TXT Registry] Fix `Records()` case handling
2023-09-14 22:50:20 -07:00
Kubernetes Prow Robot
bb705a146d
Merge pull request #3911 from johngmyers/adjust-err
...
chore(providers): allow AdjustEndpoints to return error
2023-09-14 22:50:12 -07:00
Kubernetes Prow Robot
030342f445
Merge pull request #3747 from cronik/bugfix/dual-stack-records
...
Fix planning for multi-cluster dual stack record types
2023-09-14 22:24:12 -07:00
Seweryn Chlewicki
6970b8dc79
Add tests for suffixed records
2023-09-05 12:11:23 +01:00
Seweryn Chlewicki
a1d54ad0d7
[TXT Registry] Fix Records()
case handling
2023-09-04 17:52:30 +01:00
John Gardiner Myers
c596611f9e
Allow AdjustEndpoints to return error
2023-09-03 11:23:03 -07:00
John Gardiner Myers
ff7412a844
Represent AWS Alias records as record type A
2023-09-02 17:54:50 -07:00
Kubernetes Prow Robot
b2de466aa5
Merge pull request #3862 from johngmyers/epkey-refactor
...
Use common EndpointKey type
2023-09-01 07:54:57 -07:00
Kyle Cronin
20bff0aae5
Remove EndpointFilterInterface
2023-08-16 23:48:30 -04:00
Kyle Cronin
7fb144d8d8
Fix planning for multi-cluster dual stack record types
...
When AAAA multi-target / dual stack support was
added via #2461 it broke ownership of domains across
different clusters with different ingress records types.
For example if 2 clusters manage the same zone,
1 cluster uses A records and the other uses CNAME
records, when each record type is treated as a separate
planning record, it will cause ownership to bounce back
and forth and records to be constantly created and
deleted.
This change updates the planner to keep track of multiple
current records for a domain. This allows for A and AAAA
records to exist for a domain while allowing record type
changes.
The planner will ignore desired records for a domain that
represent conflicting record types allowed by RFC 1034 3.6.2.
For example if the desired records for a domain contains
a CNAME record plus any other record type no changes for
that domain will be planned.
The planner now contains an owned record filter provided
by the registry. This allows the planner to accurately plan
create updates when there are record type changes between
the current and desired endpoints. Without this filter the
planner could add create changes for domains not owned
by the controller.
2023-08-15 19:37:50 -04:00
John Gardiner Myers
fe7e84f0a4
Use common EndpointKey type
2023-08-11 12:18:44 -07:00
John Gardiner Myers
ef8b223b8e
Migrate metadata from TXT to DynamoDB registries
2023-08-11 12:16:36 -07:00
Kubernetes Prow Robot
8623a2afc3
Merge pull request #3702 from johngmyers/provider-specific-2
...
Remove PropertyValuesEqual method from Provider interface
2023-08-11 10:43:26 -07:00
Kubernetes Prow Robot
380e8b6f5a
Merge pull request #3724 from Sewci0/fix/to-endpoint-name
...
[TXT Registry] Fix handling of records produced by `toNewTXTName` in `toEndpoint`
2023-08-10 14:01:25 -07:00
John Gardiner Myers
5affab0561
Remove PropertyValuesEqual method from Provider interface
2023-08-04 04:56:43 -07:00
Raffaele Di Fazio
9b0444c4ca
fixes domainfilter to fix build
...
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-07-21 12:26:09 +02:00
Kubernetes Prow Robot
16b28d8afe
Merge pull request #3711 from johngmyers/domainfilter
...
Refactor Provider to require DomainFilter
2023-07-20 04:02:07 -07:00
Seweryn Chlewicki
1ffcc5d88c
Make the tests more verbose
2023-07-14 17:49:40 +01:00
Seweryn Chlewicki
8cd7c95124
Implement endpoint key
2023-07-14 17:33:13 +01:00
Seweryn Chlewicki
e8ee831cc1
Revert elements match
2023-07-14 17:20:49 +01:00
Seweryn Chlewicki
1fad07b0cc
Add multiple dots test
2023-07-14 17:19:11 +01:00
Seweryn Chlewicki
f04457dd86
Disable generation of old style txt records when using recordTypeInAffix
2023-07-14 17:16:05 +01:00
Seweryn Chlewicki
fa38920d37
Extract prefix and suffix to separate variables
2023-07-14 17:05:20 +01:00
Seweryn Chlewicki
e373685286
Merge branch 'fix/to-endpoint-name' of github.com:Sewci0/external-dns into fix/to-endpoint-name
2023-06-27 08:58:04 +01:00
Sewci0
480979b0d4
Update registry/txt.go
...
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2023-06-27 08:57:57 +01:00
Seweryn Chlewicki
f2c08ac397
Add guardrails for AAAA records
2023-06-27 08:57:00 +01:00
Seweryn Chlewicki
74be95aca4
Simplify record type handling
2023-06-27 00:01:38 +01:00
Seweryn Chlewicki
0f14da0f15
Handle old format
2023-06-26 15:20:35 +01:00
Seweryn Chlewicki
013f8cf9e9
Fix TXT
registry handling of NewTXT
domains
2023-06-23 12:14:20 +01:00
John Gardiner Myers
43eea7fa9b
Refactor Provider to require DomainFilter
2023-06-19 20:25:59 -07:00
John Gardiner Myers
bb4e7478b7
Address review comments
2023-06-18 16:50:02 -07:00
John Gardiner Myers
5aae0af68a
Add DynamoDB registry implementation
2023-06-18 16:49:58 -07:00
John Gardiner Myers
b902453493
Simplify implementation of inmemory provider
2023-06-18 16:47:37 -07:00
Matias Charriere
65e480df0e
remove hardcoded check in registry/txt
...
Signed-off-by: Matias Charriere <matias@giantswarm.io>
2023-06-18 13:58:16 +02:00
Matias Charriere
44b5761330
reimplement ForceUpdate using ProviderSpecific properties
...
Signed-off-by: Matias Charriere <matias@giantswarm.io>
2023-06-15 11:50:05 +02:00
Matias Charriere
a0e291b46b
update registry tests to match new strategy
...
Signed-off-by: Matias Charriere <matias@giantswarm.io>
2023-06-15 11:50:05 +02:00
Matias Charriere
1bd3834743
handle missing TXT records with a forcedUpdate strategy
...
This change tries to remove part of the logic added in 50f196c0db
.
The forceUpdate strategy relies on existing code of the planner to migrate TXT records to the new format,
being the main goal to avoid conflicts during apply.
Signed-off-by: Matias Charriere <matias@giantswarm.io>
2023-06-15 11:50:04 +02:00
Viacheslav Sychov
2554f9f879
#1828 : Support encrypted DNS txt records
...
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
2023-04-28 20:29:54 +02:00
John Gardiner Myers
781ee3d71f
Address review comments
2023-04-12 22:46:39 -07:00
John Gardiner Myers
98532480b0
Support dual-stack domains in TXT registry
2023-03-30 17:49:31 -07:00