The schema generation was not generating the metadata properties under the VolumeClaimTemplate type, resulting in the properties being ignored by the api server. The preserve unknown fields tag was not working recursively on the volumeClaimTemplates since the subtypes were defined. Now we post-process the schema so we can preserve the unknown fields for the volume claim templates metadata. We now use 'yq' to hot-fix the CRDs, the only 'downside' is that 'yq' will not preserve the existing formatting, this is a known problem: https://github.com/mikefarah/yq/issues/465 Signed-off-by: Sébastien Han <seb@redhat.com>
For documentation on running Rook in your Kubernetes cluster see the Kubernetes Quickstart Guide