fix: support ownership recognition of txt records#6435
Conversation
|
Hi @HartmannVolker. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ok-to-test |
Coverage Report for CI Build 25739840227Coverage decreased (-0.005%) to 80.583%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions1 previously-covered line in 1 file lost coverage.
Coverage Stats
💛 - Coveralls |
|
I think this change has no effect because ToEndpointName is not called by the TXTRegistry when processing TXT records. If I’m mistaken, sorry about that. |
I think it's called in the Records function of the regisry.go. The issue is described in #6180 as well. Sorry, I forgot to link it before. |
|
Sorry for my incorrect comment earlier. I was initially concerned that supporting TXT records in the registry might create a recursive structure (TXT records managing TXT records), One thing I'm still curious about: do you know why TXT was excluded from supportedRecords in the first place? @mloiseleur Do you have any idea why TXT was excluded from supportedRecords historically? |
Unfortunately I don't, but I would like to understand the reason as well. Because TXT records are already partially supported, as in you can create them using the DNSEndpoint CRD. This fix should help external-dns properly manage them after it created them in the first place. |
|
Could you share similar results for this PR #5085 (comment)? |

What does it do ?
Adds support for managing txt records in a txt registry properly
Motivation
The support was already working partly, but was having issues when checking ownership records of txt records. This breaks the general management of a zone in external dns, because other records aren't properly managed in that case as well.
More