operator-sdk generate crds
operator-sdk generate crds
Generates CRDs for API’s
Synopsis
generate crds generates CRDs or updates them if they exist, under deploy/crds/__crd.yaml; OpenAPI V3 validation YAML is generated as a ‘validation’ object.
Example:
$ operator-sdk generate crds
$ tree deploy/crds
├── deploy/crds/app.example.com_v1alpha1_appservice_cr.yaml
├── deploy/crds/app.example.com_appservices_crd.yaml
operator-sdk generate crds [flags]
Options
--crd-version string CRD version to generate (default "v1beta1")
-h, --help help for crds
SEE ALSO
- operator-sdk generate - Invokes a specific generator
Last modified January 1, 0001
当前内容版权归 operatorframework 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 operatorframework .