-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Azure DNS] Fixes trimming of zone inferred via zone discovery #1466
[Azure DNS] Fixes trimming of zone inferred via zone discovery #1466
Conversation
…ostedZoneName' Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>
Hi @logicfox. Thanks for your PR. I'm waiting for a jetstack or cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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/test-infra repository. |
/assign @DanielMorsing |
Not sure I understand what this is trying to fix. Could you explain a bit? |
Fixes #1459 . When using Azure DNS, the TXT record used for the DNS01 challenge is set incorrectly when the The issue can be traced to the existing code which trims the domain from the fqdn based on the To mitigate this error, the domain name used in the |
Thanks for the PR 😄 I think this needs modifying to still allow overriding the parameter using We may remove the hostedZoneName field in the future, but we needn't do it as part of this PR given we can check to see if it is set, and otherwise fall back to the detected zone 😄 |
/ok-to-test |
Makes sense. I'll fix that to default to the |
Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>
@logicfox: Nice work! Seems to fix the bug I reported. 👍 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logicfox, munnerz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Aditya Sundaramurthy aditya.sundaramurthy@gmail.com
What this PR does / why we need it: Fixes #1459 . Uses inferred zone name from the Azure DNS API over the configured
hostedZoneName
param in the ClusterIssuerWhich issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #1459Special notes for your reviewer: Overrides
hostedZoneName
config param.Release note: