apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: modelregistries.config.onosproject.org
spec:
  group: config.onosproject.org
  scope: Namespaced
  names:
    kind: ModelRegistry
    listKind: ModelRegistryList
    plural: modelregistries
    singular: modelregistry
  versions:
  - name: v1beta1
    served: true
    storage: true
    schema:
      openAPIV3Schema:
        type: object
        required:
        - spec
        properties:
          spec:
            type: object
            properties:
              cache:
                x-kubernetes-preserve-unknown-fields: true
                type: object