You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Feature Enablement and Rollback](#feature-enablement-and-rollback)
110
112
-[Rollout, Upgrade and Rollback Planning](#rollout-upgrade-and-rollback-planning)
@@ -313,11 +315,9 @@ client-side validation, albeit one that is error-prone and not officially
313
315
supported).
314
316
315
317
Long-term, we want to favor using out-of-tree solutions for client-side
316
-
validation, though this idea is still in its infancy.
317
-
318
-
The [kubeval](https://www.kubeval.com/) project is an example of an out-of-tree solution that does this, and
319
-
we will look into expanding its support of open API to v3, and investigate
320
-
whether it makes sense as a permanent solution to client-side validation.
318
+
validation. The [kubeconform](https://github.com/yannh/kubeconform) project is an example of an out-of-tree solution that does this, and
319
+
we recommend using this or similar tools to validate manifests offline going
320
+
forward.
321
321
322
322
##### Aligning json and yaml errors
323
323
@@ -615,6 +615,11 @@ It tests the cross product of all valid permutations along the dimensions of:
615
615
With field validation on by default in beta, we will modify
616
616
[test/e2e/kubectl/kubectl.go](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/kubectl/kubectl.go) to ensure that kubectl defaults to using server side field validation and detects unknown/duplicate fields as expected.
617
617
618
+
[GA]
619
+
We will introduce field validation specific e2e/conformance tests to submit
620
+
requests directly against the API server for both built-in and custom resources
621
+
to test that duplicate and unknown fields are appropriately detected.
622
+
618
623
### Graduation Criteria
619
624
<!--
620
625
**Note:** *Not required until targeted at a release.*
@@ -655,29 +660,20 @@ Below are some examples to consider, in addition to the aforementioned [maturity
655
660
-[x] field validation integration tests check for exact match of strict errors
656
661
-[x] In tree NestedObjectDecoders no longer short circuit on strict decoding
-[] Unknown/Duplicate fields are properly detected in the metadata at both the
663
+
-[x] Unknown/Duplicate fields are properly detected in the metadata at both the
659
664
root level and within embedded objects
660
665
[#109215](https://github.com/kubernetes/kubernetes/issues/109215),[#109316](https://github.com/kubernetes/kubernetes/pull/109316), and
0 commit comments