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-15653: Fix DNS regex validation #5482
Conversation
https://issues.redhat.com/browse/MGMT-15653 The previous DNS regex validation allowed domains ending in a period '.' which is incorrect. It also did not allow base domains that had more than one character before the dash. This fixes the domain validation regex to ensure the issues mentioned are fixed and adds a check for wildcard domains.
@CrystalChun: This pull request references MGMT-15653 which is a valid jira issue. 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 #5482 +/- ##
==========================================
- Coverage 67.65% 67.64% -0.01%
==========================================
Files 232 232
Lines 33988 33993 +5
==========================================
+ Hits 22994 22996 +2
- Misses 8948 8950 +2
- Partials 2046 2047 +1
|
/test edge-e2e-metal-assisted |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CrystalChun, gamli75 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 |
@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. |
https://issues.redhat.com/browse/MGMT-15653 The previous DNS regex validation allowed domains ending in a period '.' which is incorrect. It also did not allow base domains that had more than one character before the dash. This fixes the domain validation regex to ensure the issues mentioned are fixed and adds a check for wildcard domains.
https://issues.redhat.com/browse/MGMT-15653
The previous DNS regex validation allowed domains
ending in a period '.' which is incorrect. It also did not allow base domains that had more than one
character before the dash. This fixes the domain
validation regex to ensure the issues mentioned
are fixed and adds a check for wildcard domains.
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 @gamli75 @filanov