Skip to content
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(#3097): use CRD validations for TCP/UDPIngress #3136

Merged
merged 10 commits into from
Nov 7, 2022

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Nov 7, 2022

What this PR does / why we need it:

While working on #3097, I noticed that the validations for fields we have in place for TCP/UDPIngress wouldn't be required if we used CRD validations correctly.

This PR modifies CRDs' annotations so they correctly validate their fields. An integration test suite is added to ensure that validations are in place indeed and prevent objects from creation. Parser's validations are removed.

Which issue this PR fixes:

Part of #3097.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 12:35 Inactive
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 12:41 Inactive
@czeslavo czeslavo marked this pull request as ready for review November 7, 2022 12:42
@czeslavo czeslavo requested a review from a team as a code owner November 7, 2022 12:42
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 12:52 Inactive
@czeslavo czeslavo self-assigned this Nov 7, 2022
@czeslavo czeslavo added the area/feature New feature or request label Nov 7, 2022
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 13:16 Inactive
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 13:16 Inactive
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 14:07 Inactive
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 14:30 Inactive
@czeslavo czeslavo temporarily deployed to Configure ci November 7, 2022 14:30 Inactive
@pmalek pmalek added this to the KIC v2.8.0 milestone Nov 7, 2022
@czeslavo czeslavo merged commit a3c40fc into main Nov 7, 2022
@czeslavo czeslavo deleted the feat/use-tcp-udp-ingresses-crd-validations branch November 7, 2022 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants