mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
update conformance
x-preserve-unknown-fields becomes x-kubernetes-preserve-unknown-fields
This commit is contained in:
parent
59629acf47
commit
a51d4c1fee
16
test/conformance/testdata/conformance.yaml
vendored
16
test/conformance/testdata/conformance.yaml
vendored
@ -246,20 +246,21 @@
|
|||||||
update to reflect the rename.
|
update to reflect the rename.
|
||||||
release: v1.16
|
release: v1.16
|
||||||
file: test/e2e/apimachinery/crd_publish_openapi.go
|
file: test/e2e/apimachinery/crd_publish_openapi.go
|
||||||
- testname: Custom Resource OpenAPI Publish, with x-preserve-unknown-fields at root
|
- testname: Custom Resource OpenAPI Publish, with x-kubernetes-preserve-unknown-fields
|
||||||
|
at root
|
||||||
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
||||||
works for CRD preserving unknown fields at the schema root [Conformance]'
|
works for CRD preserving unknown fields at the schema root [Conformance]'
|
||||||
description: Register a custom resource definition with x-preserve-unknown-fields
|
description: Register a custom resource definition with x-kubernetes-preserve-unknown-fields
|
||||||
in the schema root. Attempt to create and apply a change a custom resource, via
|
in the schema root. Attempt to create and apply a change a custom resource, via
|
||||||
kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl explain;
|
kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl explain;
|
||||||
the output MUST show the custom resource KIND.
|
the output MUST show the custom resource KIND.
|
||||||
release: v1.16
|
release: v1.16
|
||||||
file: test/e2e/apimachinery/crd_publish_openapi.go
|
file: test/e2e/apimachinery/crd_publish_openapi.go
|
||||||
- testname: Custom Resource OpenAPI Publish, with x-preserve-unknown-fields in embedded
|
- testname: Custom Resource OpenAPI Publish, with x-kubernetes-preserve-unknown-fields
|
||||||
object
|
in embedded object
|
||||||
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
||||||
works for CRD preserving unknown fields in an embedded object [Conformance]'
|
works for CRD preserving unknown fields in an embedded object [Conformance]'
|
||||||
description: Register a custom resource definition with x-preserve-unknown-fields
|
description: Register a custom resource definition with x-kubernetes-preserve-unknown-fields
|
||||||
in an embedded object. Attempt to create and apply a change a custom resource,
|
in an embedded object. Attempt to create and apply a change a custom resource,
|
||||||
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
|
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
|
||||||
explain; the output MUST show that x-preserve-unknown-properties is used on the
|
explain; the output MUST show that x-preserve-unknown-properties is used on the
|
||||||
@ -279,10 +280,11 @@
|
|||||||
validation should be the same.
|
validation should be the same.
|
||||||
release: v1.16
|
release: v1.16
|
||||||
file: test/e2e/apimachinery/crd_publish_openapi.go
|
file: test/e2e/apimachinery/crd_publish_openapi.go
|
||||||
- testname: Custom Resource OpenAPI Publish, with x-preserve-unknown-fields in object
|
- testname: Custom Resource OpenAPI Publish, with x-kubernetes-preserve-unknown-fields
|
||||||
|
in object
|
||||||
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
|
||||||
works for CRD without validation schema [Conformance]'
|
works for CRD without validation schema [Conformance]'
|
||||||
description: Register a custom resource definition with x-preserve-unknown-fields
|
description: Register a custom resource definition with x-kubernetes-preserve-unknown-fields
|
||||||
in the top level object. Attempt to create and apply a change a custom resource,
|
in the top level object. Attempt to create and apply a change a custom resource,
|
||||||
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
|
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
|
||||||
explain; the output MUST contain a valid DESCRIPTION stanza.
|
explain; the output MUST contain a valid DESCRIPTION stanza.
|
||||||
|
Loading…
Reference in New Issue
Block a user