apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: devicesets.device-system.edge.ncr.com annotations: controller-gen.kubebuilder.io/version: (unknown) spec: group: device-system.edge.ncr.com names: kind: DeviceSet listKind: DeviceSetList plural: devicesets singular: deviceset scope: Cluster versions: - name: v1 schema: openAPIV3Schema: type: object properties: apiVersion: type: string description: |- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind: type: string description: |- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds metadata: type: object spec: type: object properties: deviceSets: type: array description: DeviceSets contains a list of matchers based on device properties and attributes (udev) items: type: object properties: name: type: string attributes: type: array items: type: object properties: name: type: string value: type: string required: - name - value blocking: type: object description: Block will prevent containers from starting if a device in the device cr is not ready properties: type: array items: type: object properties: name: type: string value: type: string required: - name - value required: - name required: - deviceSets served: true storage: true