YAML templates can be automatically generated from CRD definitions. For example, this project: https://github.com/Skarlso/crd-to-sample-yaml