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: Validate domain in one place #5451
Conversation
@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. |
/test ? |
Skipping CI for Draft Pull Request. |
@CrystalChun: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
/test edge-e2e-metal-assisted |
@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. |
ded5142
to
ab2d111
Compare
@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 #5451 +/- ##
==========================================
+ Coverage 67.73% 67.84% +0.11%
==========================================
Files 229 232 +3
Lines 33571 34339 +768
==========================================
+ Hits 22738 23297 +559
- Misses 8791 8976 +185
- Partials 2042 2066 +24 |
@CrystalChun can you add tests to cover the problem that we had? |
/retest-required |
02c6e86
to
0ee6d25
Compare
https://issues.redhat.com/browse/MGMT-15653 Uses domain validation function and regex from validation package for both internal domain validation and for domain name request API. Prevents mismatch in regex validation.
https://issues.redhat.com/browse/MGMT-15653 After running skipper make generate
Test cases added: Subsystem tests added for domains containing a dash, containing multiple dashes, starting with a number, and ending with a number: Let me know if there are more test cases to cover! |
/retest-required |
|
/override ci/prow/e2e-agent-compact-ipv4 |
@osherdp: Overrode contexts on behalf of osherdp: ci/prow/e2e-agent-compact-ipv4 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. |
@CrystalChun: The following test failed, say
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, 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 |
e235675
into
openshift:master
* MGMT-15653: Validate domain in one place https://issues.redhat.com/browse/MGMT-15653 Uses domain validation function and regex from validation package for both internal domain validation and for domain name request API. Prevents mismatch in regex validation. * MGMT-15653: Generated files https://issues.redhat.com/browse/MGMT-15653 After running skipper make generate
https://issues.redhat.com/browse/MGMT-15653
Uses domain validation function and regex
from validation package for both internal
domain validation and for domain name request
API.
Prevents mismatch in regex validation.
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
E2E KubeAPI test:
baseDomain: r--edht.com
&baseDomain: 000.aa0
Checklist
docs
, README, etc)Reviewers Checklist