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

Kubectl docs should mention field validation #39211

Closed
kevindelgado opened this issue Feb 1, 2023 · 7 comments
Closed

Kubectl docs should mention field validation #39211

kevindelgado opened this issue Feb 1, 2023 · 7 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language triage/accepted Indicates an issue or PR is ready to be actively worked on. wg/api-expression Categorizes an issue or PR as relevant to WG API Expression.

Comments

@kevindelgado
Copy link
Contributor

The reference documentation on kubectl currently does not mention anything about field validation kubectl --validate.

Specifically, kubectl prior to 1.25 used to detect unknown and duplicate fields via client-side validation built into kubectl.

Since 1.25 kubectl uses server-side validation to detect unknown and duplicate fields and kubectl users have the option to customize the behavior of the server via kubectl --validate

@kevindelgado kevindelgado added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 1, 2023
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Feb 1, 2023
@kevindelgado
Copy link
Contributor Author

/cc @sftim

@sftim
Copy link
Contributor

sftim commented Feb 2, 2023

/language en
/wg api-expression
/triage accepted

@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language wg/api-expression Categorizes an issue or PR as relevant to WG API Expression. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 2, 2023
@FavourDaniel
Copy link

Can I get assigned to this? @sftim

@tengqm
Copy link
Contributor

tengqm commented Feb 18, 2023

/assign FavourDaniel

@vaibhav2107
Copy link
Member

I think this issue is resolved by #39716 and hence can be closed now

@vaibhav2107
Copy link
Member

/close

@k8s-ci-robot
Copy link
Contributor

@vaibhav2107: Closing this issue.

In response to this:

/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
kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language triage/accepted Indicates an issue or PR is ready to be actively worked on. wg/api-expression Categorizes an issue or PR as relevant to WG API Expression.
Projects
None yet
Development

No branches or pull requests

6 participants