ivan katliarchuk
abdf8bbc02
chore(refactore): added lint checks
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-04-23 08:22:43 +01:00
Saikat Chakrabortty
b0198c883c
test(registry): enhance logging for empty targets in TXT records test
2025-03-06 14:11:06 +01:00
Saikat Chakrabortty
4ef055b1be
fix(registry): improve logging for TXT records with empty targets and add unit test
2025-03-06 14:11:03 +01:00
Saikat Chakrabortty
d097f9c2ff
fix(registry): handle empty targets in TXT records logging an error
2025-03-06 14:10:45 +01:00
Malthe Poulsen
cd624b6f55
feat(txt-registry): add option to use only new format ( #4946 )
...
* feat: add option to use only new format TXT records
* add flag and docs
* refine documentation on how to use the flag
* add section regarding manual migration
* update documentation to be same as in types.go
* fix compile issue
* add tests for new flag
* update flags documentation correctly
* add new option to helm chart
* run helm-docs
* remove unessery newline
* add entry to unreleased chart items
* Revert "run helm-docs"
This reverts commit a1d64bd3e8
.
* Revert "add new option to helm chart"
This reverts commit 299d087917
.
* Revert "add entry to unreleased chart items"
This reverts commit 0bcd0e3612
.
* fix test cases that have changed
2025-01-28 03:21:23 -08:00
ivan katliarchuk
732a811c7e
fix(aes-encryption): rephrase error message
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2024-12-29 15:20:10 +00:00
ivan katliarchuk
0786e67bec
fix(aes-encryption): test multiple apply changes with encryption
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2024-12-29 14:53:02 +00:00
ivan katliarchuk
feeca36a12
fix(aes-encryption): test apply changes with encryption
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2024-12-29 13:50:14 +00:00
ivan katliarchuk
9e5e6021df
fix(aes-encryption): added fallback and tests
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2024-12-28 16:50:51 +00:00
Thibault Cohen
cc687cb5ac
Remove useless debug log
2024-11-22 13:33:36 -05:00
Thibault Cohen
f1470b1422
fix(txt-suffix): avoid crash on domain without dot
2024-11-20 09:12:59 -05:00
Michael Shen
ce1ab808f2
Refactor DynamoDB registry to aws-sdk-go-v2
...
Signed-off-by: Michael Shen <mishen@umich.edu>
2024-09-06 09:44:49 -04:00
Thibault Jamet
b2ff1619f5
Add Domain filter interface
2024-08-14 10:20:59 +02:00
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