-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(source/f5-virtual-server): add host aliases support for Virtual … #5745
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
feat(source/f5-virtual-server): add host aliases support for Virtual … #5745
Conversation
Welcome @shkarface! |
Hi @shkarface. 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 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-sigs/prow repository. |
Was this tested on a real cluster? |
/ok-to-test |
Yes, we're utilizing this in all our clusters Edit: worth to mention that we have had this change in our setup for almost a year as of now. |
/test pull-external-dns-unit-test |
/lgtm |
…already taken care of by the iterator
@szuecs fixed |
@mloiseleur can you please review this whenever you have time? |
@shkarface It's still lgtm. I'll let @szuecs proceed with a final review. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: szuecs 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 |
Thanks for the ping and PR! |
What does it do ?
This PR implements support for the F5 VirtualServer's
hostAliases
field, allowing users to create DNS records for multiple hostnames from a single VirtualServer resource.Motivation
The F5 VirtualServer source currently only creates DNS records for the primary hostname specified in
spec.host
. However, F5 VirtualServer resources support ahostAliases
field that allows specifying additional hostnames that should resolve to the same targets. This PR implements support for this field to provide a more complete and useful integration.More
Changes Made
Implementation
source/f5_virtualserver.go
Testing
Documentation
docs/sources/f5-virtualserver.md
with:Example Usage
This configuration will create DNS A records for:
www.example.com
→192.168.1.100
alias1.example.com
→192.168.1.100
alias2.example.com
→192.168.1.100
Testing
All existing tests pass, and 5 new test cases have been added specifically for hostAliases functionality. The implementation handles edge cases like empty strings and maintains backward compatibility.