-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Fix HostAlias to validate against DNS1123 hostname instead of just labels #46809
Fix HostAlias to validate against DNS1123 hostname instead of just labels #46809
Conversation
Hi @rickypai. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with 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. I understand the commands that are listed here. |
4a0e16b
to
80240f4
Compare
@bowei could you please take a look or find an owner? |
@k8s-bot ok to test |
Not sure if that unit test is a flake or not. I have been hitting frequently today. |
seems to be problems related to the test setup :( |
80240f4
to
0e5c84e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Should be a bugfix for 1.7? |
yes this is a fix for a 1.7 feature and should be backported. |
so all tests passed. submit queue is not taking it because "Milestone is for a future release and cannot be merged". should a milestone tag be added? |
@kubernetes/kubernetes-release-managers |
/kind bug |
does this need to be added to v1.7 milestone? i'm not very familiar with the project structure |
/approve no-issue |
cc/ @kubernetes/kubernetes-release-managers |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bowei, dchen1107, rickypai Associated issue: 44641 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 46977, 47005, 47018, 47061, 46809) |
What this PR does / why we need it: the validation for HostAlias was validating the hostnames against DNS labels instead of hostnames. This means hostnames like
foo.bar
would fail. I did not catch this because unit test cases only had hostnames likefoo
.Which issue this PR fixes: fixes issue introduced in #44641
Release note: