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:

  1. $ operator-sdk generate crds
  2. $ tree deploy/crds
  3. ├── deploy/crds/app.example.com_v1alpha1_appservice_cr.yaml
  4. ├── deploy/crds/app.example.com_appservices_crd.yaml
  1. operator-sdk generate crds [flags]

Options

  1. --crd-version string CRD version to generate (default "v1beta1")
  2. -h, --help help for crds

SEE ALSO

Last modified January 1, 0001