Skip to content

Commit

Permalink
update conformance
Browse files Browse the repository at this point in the history
x-preserve-unknown-fields becomes x-kubernetes-preserve-unknown-fields
  • Loading branch information
alexzielenski committed Jul 26, 2022
1 parent 59629ac commit a51d4c1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions test/conformance/testdata/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,20 +246,21 @@
update to reflect the rename.
release: v1.16
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]
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
kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl explain;
the output MUST show the custom resource KIND.
release: v1.16
file: test/e2e/apimachinery/crd_publish_openapi.go
- testname: Custom Resource OpenAPI Publish, with x-preserve-unknown-fields in embedded
object
- testname: Custom Resource OpenAPI Publish, with x-kubernetes-preserve-unknown-fields
in embedded object
codename: '[sig-api-machinery] CustomResourcePublishOpenAPI [Privileged:ClusterAdmin]
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,
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
explain; the output MUST show that x-preserve-unknown-properties is used on the
Expand All @@ -279,10 +280,11 @@
validation should be the same.
release: v1.16
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]
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,
via kubectl; kubectl validation MUST accept unknown properties. Attempt kubectl
explain; the output MUST contain a valid DESCRIPTION stanza.
Expand Down

0 comments on commit a51d4c1

Please sign in to comment.