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
MGMT-15886: Fix domain validation #5801
MGMT-15886: Fix domain validation #5801
Conversation
@CrystalChun: This pull request references MGMT-15886 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set. In response to this:
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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5801 +/- ##
==========================================
+ Coverage 67.88% 69.05% +1.17%
==========================================
Files 235 235
Lines 34552 36630 +2078
==========================================
+ Hits 23454 25296 +1842
- Misses 9010 9107 +97
- Partials 2088 2227 +139
|
https://issues.redhat.com/browse/MGMT-15886 Modify domain validation to adhere to the RFC standard for domains https://datatracker.ietf.org/doc/html/rfc1034#section-3.5 Rules for labels: 1. start with a letter 2. end with a letter or digit 3. and have as interior characters only letters, digits, and hyphen Domains contains either one label or multiple labels separated by a period. Top level (base) domains must have at least two characters and cannot end in a dash.
d563908
to
1d50506
Compare
/retest-required |
@CrystalChun: all tests passed! Full PR test history. Your PR dashboard. 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CrystalChun, filanov 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 |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-agent-installer-api-server-container-v4.16.0-202312171702.p0.gfd8eb19.assembly.stream for distgit ose-agent-installer-api-server. |
https://issues.redhat.com/browse/MGMT-15886
Modify domain validation to adhere to the RFC standard for domains https://datatracker.ietf.org/doc/html/rfc1034#section-3.5
Rules for labels:
Domains contains either one label or multiple labels separated by a period.
Top level (base) domains must have at least two characters and cannot end in a dash.
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs
, README, etc)Reviewers Checklist
/cc @ori-amizur @carbonin @filanov