Repository navigation
Add DNS provider for EdgeCDN-X - #3381
Conversation
|
I will not lie, this API is very unfriendly to use, it was not easy to create something based on the API documentation. I saw that you implemented a retry mechanism but I didn't implemented a retry because I need to understand why we need that to propose the right implementation. |
|
Hi @ldez created a PR to your branch. There was one bug where when there are existing DNSRecords the provider treats it as update, even though the challenge was not present yet. I removed the optional resourceVersion field from the PATCH/DELETE requests. The API is on top of Kubernetes, so in theory a reconciler could update the resource, which would change the resourceVersion. If the resourceVersion is omitted, the request takes precedence even if the resource changed underneath. |
|
I updated the PR based on your suggestions. Could you check if this is still working? |
|
yes, working: thanks |
|
Thank you |
Closes #3379
Ping @fr6nco, can you run the command with your domain, credentials, etc. (and put the output of this command to a comment)?
Note that the wildcard domain is important.
How to test this PR?
git clone https://github.com/ldez/lego.git cd lego git checkout feat/dns/edgecdnxmake:make buildmake:go build -o dist/lego ./cmd/lego