Ivan Ka
a6243cf6bb
chore(providers): rename custom TTL constants to defaultTTL ( #5312 )
...
* chore(provider): inline providers
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(provider): inline providers
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(provider): inline providers
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(provider): inline providers
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(provider): inline providers
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-04-27 14:59:25 -07:00
ivan katliarchuk
757a57609f
chore(code-quality): linter warnings fixes
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-04-23 22:03:00 +01:00
Valentin Flaux
6f65181681
add tests & fixes for dataLocalizationRegionalHostnamesChanges()
2025-04-12 10:59:47 +02:00
Valentin Flaux
c3f0cd668f
fix cloudflare regional hostnames
...
Implements create & delete of regional hostnames for A, AAAA & CNAME
records.
Implements "external-dns.alpha.kubernetes.io/cloudflare-region-key"
annotation.
2025-04-12 10:59:47 +02:00
Kubernetes Prow Robot
026feab62b
Merge pull request #5239 from conduitxyz/mrozentsvayg/cloudflare-multiple-custom-hostnames
...
feat(cloudflare): multiple custom hostnames support
2025-04-02 23:58:47 -07:00
Mikhail Rozentsvayg
6808aa3198
add test for logging error when creating endpoint and ignoring too long record name (shouldn't happen)
2025-04-02 10:09:00 -07:00
Michel Loiseleur
3835c62bb6
chore(ci): update linter to v2.0.2
2025-04-02 08:53:54 +02:00
Mikhail Rozentsvayg
f3f58dd676
[attempt to] improve nested conditions readability for cloudflare tests failures scenarios
2025-04-01 12:01:50 -07:00
Mikhail Rozentsvayg
3ef8c7336f
rename variables with ambiguous "endpoint" names
2025-03-31 12:02:41 -07:00
Mikhail Rozentsvayg
647d850729
remove redunaant custom hostnames sort
2025-03-31 09:30:05 -07:00
Mikhail Rozentsvayg
6da38ba746
feat(cloudflare): multiple custom hostnames support
2025-03-30 22:21:03 -07:00
mrozentsvayg
04f6a99c99
fix(cloudflare): custom hostnames edge-cases causing duplicates ( #5183 )
...
* fix(cloudflare): custom hostnames edge-cases causing duplicates
* syntax/style
* Use %q log fmt for cloudflare provider code
* move custom hostnames related submitChanges() implementation to a separate method submitCustomHostnameChanges(); extend truncated logging
* use maps for DNS records getRecordID() and custom hostnames getCustomHostname() for faster lookups
* types for records/custom hostnames maps
* tidy up using underlying maps for dns records and custom hostnames
* style/naming
* fix private names
* combine unnecessarily separated conditions
2025-03-24 02:06:33 -07:00
Mikhail Rozentsvayg
d8b31bc209
combine unnecessarily separated conditions
2025-03-21 08:17:33 -07:00
Mikhail Rozentsvayg
43b218880e
fix private names
2025-03-19 12:08:50 -07:00
Mikhail Rozentsvayg
47236fd8bf
style/naming
2025-03-19 12:01:43 -07:00
Mikhail Rozentsvayg
2e29a19ab7
tidy up using underlying maps for dns records and custom hostnames
2025-03-19 10:09:37 -07:00
Mikhail Rozentsvayg
e47d83b224
types for records/custom hostnames maps
2025-03-18 12:24:54 -07:00
Mikhail Rozentsvayg
037a10174f
use maps for DNS records getRecordID() and custom hostnames getCustomHostname() for faster lookups
2025-03-18 12:12:57 -07:00
Mikhail Rozentsvayg
b1f20511c5
move custom hostnames related submitChanges() implementation to a separate method submitCustomHostnameChanges(); extend truncated logging
2025-03-18 10:07:13 -07:00
Mikhail Rozentsvayg
12cce6fa7f
Use %q log fmt for cloudflare provider code
2025-03-17 19:10:35 -07:00
Mikhail Rozentsvayg
2a15aba564
syntax/style
2025-03-17 19:10:35 -07:00
Mikhail Rozentsvayg
8d37820a56
fix(cloudflare): custom hostnames edge-cases causing duplicates
2025-03-17 19:10:35 -07:00
mrozentsvayg
017f7687ca
fix(cloudflare): infinite loop with more than 50 custom hostnames ( #5181 )
...
* bugfix - do not reset the resultInfo var, causing infinite loop when number of custom hostnames more than 50
* support paging for custom hostnames tests; update doc
2025-03-14 10:49:48 -07:00
mrozentsvayg
44f1008ee1
cloudflare: bugfix - do not attempt to create unconfigured empty custom hostnames; improve tests; streamline logic ( #5146 )
...
improve test coverage
test the edge case when the custom hostname has changed during the record deletion
don't use custom hostnames if Cloudflare for SaaS fails to authenticate
Use new --cloudflare-custom-hostnames flag to enable cloudflare custom hostnames support
custom hostnames flags --cloudflare-custom-hostnames-min-tls-version and --cloudflare-custom-hostnames-certificate-authority support
markdown lint
Update cloudflare.md
2025-03-12 09:59:48 -07:00
Andrew Hay
750f8f40ab
style: formatting
2025-02-19 17:06:04 +00:00
Andrew Hay
c9df817f04
fix: remove broken test
2025-02-19 16:47:58 +00:00
Andrew Hay
1da72312a9
Merge branch 'master' into test/submitChanges
2025-02-19 11:00:20 -05:00
Mikhail Rozentsvayg
ec83b4b8d3
nitpick: rename cloudflare custom hostname test function
2025-02-18 15:23:25 -08:00
Mikhail Rozentsvayg
8dc667a2f6
review suggestions based improvements
2025-02-18 15:04:15 -08:00
Mikhail Rozentsvayg
799ec6d2c9
review suggestions
2025-02-18 14:54:13 -08:00
Mikhail Rozentsvayg
f659f40697
improve error message phrasing
2025-02-18 09:53:30 -08:00
Mikhail Rozentsvayg
c21afb88c2
fix (english) syntax error in cloudflare custom hostnames error message
2025-02-17 13:07:15 -08:00
Mikhail Rozentsvayg
880220a2b6
more cloudflare custom hostanmes requiremenets clarifications in docs and errors
2025-02-17 10:22:35 -08:00
Mikhail Rozentsvayg
b93f18d8d7
Add error reporting if CustomHostnames() fails (likely caused by missing Cloudflare for SaaS)
2025-02-17 09:28:54 -08:00
Mikhail Rozentsvayg
13af20bda3
use pagination helpers for CustomHostnames() api
2025-02-12 10:40:37 -08:00
Mikhail Rozentsvayg
28f5c95f24
rename customHostnamesWithPagination to listCustomHostnamesWithPagination help function to improve the naming consistency
2025-02-12 08:35:37 -08:00
Mikhail Rozentsvayg
e8bda89de6
Revert "fix: add UpdateDataLocalizationRegionalHostname to test framework"
...
This reverts commit 438b0bccb5
.
2025-02-11 15:30:22 -08:00
Mikhail Rozentsvayg
b282c29ab7
do not attempt UpdateDataLocalizationRegionalHostname() if RegionKey is not set in the plan change; API requires admin role and fails on any change unnecessarily otherwise
2025-02-11 15:29:49 -08:00
Andrew Hay
df0628faa2
feat: add APEX test
2025-02-10 16:52:55 +00:00
Mikhail Rozentsvayg
bd0dfeffea
add basic custom hostnames test cases
2025-02-09 14:50:02 -08:00
Mikhail Rozentsvayg
4e624d53cc
fix custom hostname mock test stubs
2025-02-09 11:11:34 -08:00
Mikhail Rozentsvayg
27a5f6e49c
add stubs for custom hostname mock test
2025-02-09 10:51:16 -08:00
Mikhail Rozentsvayg
88fd2aa3a7
initial custom hostnames support
2025-02-09 10:01:35 -08:00
Andrew Hay
30c1c9ddf0
fix: remove log statements
2025-02-04 15:41:39 +00:00
Andrew Hay
9fb049ee74
fix: added more tests
2025-02-04 15:39:22 +00:00
Andrew Hay
033853e947
chore: remove exess logs
2025-02-01 19:28:13 +00:00
Andrew Hay
7a2dccef87
chore: remove exess logs
2025-02-01 19:26:22 +00:00
Andrew Hay
2ff8fb4981
fix: remove unused field
2025-02-01 19:24:29 +00:00
Andrew Hay
cf1bc0b14b
test(cloudflare_test): add test for submit changes
2025-02-01 19:19:24 +00:00
Andrew Hay
612d40fed1
style: space vs tabs
2025-01-30 17:02:40 +00:00