Version v1.6 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
OpenAPIv3 schemas are added to CRD manifests in the
spec.validation block when the manifests are generated. This validation block allows Kubernetes to validate the properties in a Memcached Custom Resource when it is created or updated.
Markers (annotations) are available to configure validations for your API. These markers will always have a
Usage of markers in API code is discussed in the kubebuilder CRD generation and marker documentation. A full list of OpenAPIv3 validation markers can be found here.
To learn more about OpenAPI v3.0 validation schemas in CRDs, refer to the Kubernetes Documentation.