Permalink
Browse files

Update custom-resource-definitions.md: add validatingadmissionwebhook…

… for validation (#12371)

Add validatingadmissionwebhook for validation in case someone does not know it.
  • Loading branch information...
hex108 authored and k8s-ci-robot committed Jan 31, 2019
1 parent 2e0287d commit 33d851c9131925c47bffe8058b016b681cc3a028
@@ -228,7 +228,7 @@ meaning all finalizers have been executed.
{{< feature-state state="beta" for_kubernetes_version="1.9" >}}

Validation of custom objects is possible via
[OpenAPI v3 schema](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject).
[OpenAPI v3 schema](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject) or [validatingadmissionwebhook](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook).
Additionally, the following restrictions are applied to the schema:

- The fields `default`, `nullable`, `discriminator`, `readOnly`, `writeOnly`, `xml`,

0 comments on commit 33d851c

Please sign in to comment.