fix(crd): require trailing dot for SRV targets#6358
fix(crd): require trailing dot for SRV targets#6358alexbakker-quandago wants to merge 1 commit intokubernetes-sigs:masterfrom
Conversation
|
[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 |
|
Hi @alexbakker-quandago. 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. |
|
/ok-to-test |
|
Could you add integration test as well pls https://github.com/kubernetes-sigs/external-dns/blob/master/tests/integration/scenarios/tests.yaml |
Coverage Report for CI Build 24122217084Coverage remained the same at 80.528%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
|
@ivankatliarchuk Could you provide an example of an integration test with external-dns/tests/integration/toolkit/models.go Lines 71 to 77 in a770f18 |
Yeah. Too much work. I'll do it it |
This brings the CRD validation of SRV record targets in line with the ``ValidateSRVRecord`` function in ``endpoint/endpoint.go``, which was changed in fde978f to require a trailing dot.
7533399 to
c389050
Compare
|
@ivankatliarchuk Thanks for the feedback. I've addressed both of your comments. |
|
Could you provide a similar ressult #5111 (comment) I think we did get a working result on last PR, no idea how there is still a bug. |
|
@ivankatliarchuk In #6357 you can find steps to reproduce the issue. This should be reproducible regardless of any external-dns settings. I think I now also understand when the issue was introduced, see: #6357 (comment) |
What does it do ?
This brings the CRD validation of SRV record targets in line with the
ValidateSRVRecordfunction inendpoint/endpoint.go, which was changed in fde978f to require a trailing dot.Motivation
Fixes #6357.
More