apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: registry.kuberdon.kuberty.io
spec:
  group: kuberdon.kuberty.io
  versions:
    - name: v1beta1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          properties:
            spec:
              type: object
              properties:
                secret:
                  type: string
                namespaces:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
  scope: Cluster
  names:
    plural: registries
    singular: registry
    kind: Registry
