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

remove network client-side validation #23008

Closed
wants to merge 1 commit into from

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jun 3, 2019

Only the server's validation rules are considered authoritative. This is why we do not validate in client-side tools because the rules can be too advanced or too old. In both cases, the server can reject values.

The network controller appears to be trying to decide whether to act on data based on its own stale view of rules. We don't want this to happen. If the server says it's valid, it's valid.

This also removes an illegal dependency on internal types.

@openshift/sig-networking

@openshift-ci-robot openshift-ci-robot added sig/networking size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 3, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2019
@deads2k
Copy link
Contributor Author

deads2k commented Jun 3, 2019

#21964 is better

/close

@openshift-ci-robot
Copy link

@deads2k: Closed this PR.

In response to this:

#21964 is better

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. sig/networking size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants