-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP-4153: Declarative Validation Proposal and Design #4163
Merged
k8s-ci-robot
merged 1 commit into
kubernetes:master
from
alexzielenski:declarative-validation
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kep-number: 4153 | ||
alpha: | ||
approver: "@deads2k" |
1,838 changes: 1,838 additions & 0 deletions
1,838
keps/sig-api-machinery/4153-declarative-validation/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
keps/sig-api-machinery/4153-declarative-validation/kep.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
title: Declarative Validation | ||
kep-number: 4153 | ||
authors: | ||
- "@alexzielenski" | ||
- "@jpbetz" | ||
owning-sig: sig-api-machinery | ||
status: implementable | ||
creation-date: 2023-08-20 | ||
reviewers: | ||
- apelisse | ||
- jpbetz | ||
- thockin | ||
- robscott | ||
approvers: | ||
- thockin | ||
- jpbetz | ||
- deads2k | ||
|
||
see-also: | ||
- "/keps/sig-api-machinery/692-crd-openapi-schema" | ||
- "/keps/sig-api-machinery/1929-built-in-default" | ||
- "/keps/sig-api-machinery/2876-crd-validation-expression-language" | ||
- "/keps/sig-api-machinery/2887-openapi-enum-types" | ||
- "/keps/sig-api-machinery/4008-crd-ratcheting" | ||
|
||
# The target maturity stage in the current dev cycle for this KEP. | ||
stage: alpha | ||
|
||
# The most recent milestone for which work toward delivery of this KEP has been | ||
# done. This can be the current (upcoming) milestone, if it is being actively | ||
# worked on. | ||
latest-milestone: "v1.29" | ||
|
||
# The milestone at which this feature was, or is targeted to be, at each stage. | ||
milestone: | ||
alpha: "v1.29" | ||
|
||
# The following PRR answers are required at alpha release | ||
# List the feature gate name and the components for which it must be enabled | ||
feature-gates: | ||
# Exposes x-kubernetes-validations in published OpenAPI schema | ||
- name: DeclarativeValidationExtensionsInOpenAPI | ||
components: | ||
- kube-apiserver | ||
# Switches apiserver to use OpenAPI-based validation instead of handwritten | ||
# wherever possible | ||
- name: DeclarativeValidation | ||
components: | ||
- kube-apiserver | ||
disable-supported: true | ||
|
||
# The following PRR answers are required at beta release | ||
metrics: | ||
# - my_feature_metric |
1 change: 1 addition & 0 deletions
1
keps/sig-api-machinery/4153-declarative-validation/metadata-name-types.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little strange to have an author as a reviewer and approver.