...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 name: deviceclasses.device-system.edge.ncr.com
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7spec:
8 group: device-system.edge.ncr.com
9 names:
10 kind: DeviceClass
11 listKind: DeviceClassList
12 plural: deviceclasses
13 shortNames:
14 - dc
15 singular: deviceclass
16 scope: Cluster
17 versions:
18 - name: v1
19 schema:
20 openAPIV3Schema:
21 type: object
22 properties:
23 apiVersion:
24 type: string
25 description: |-
26 APIVersion defines the versioned schema of this representation of an object.
27 Servers should convert recognized schemas to the latest internal value, and
28 may reject unrecognized values.
29 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
30 kind:
31 type: string
32 description: |-
33 Kind is a string value representing the REST resource this object represents.
34 Servers may infer this from the endpoint the client submits requests to.
35 Cannot be updated.
36 In CamelCase.
37 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38 metadata:
39 type: object
40 spec:
41 type: object
42 properties:
43 deviceSets:
44 type: array
45 description: DeviceSets contains a list of matchers based on device properties and attributes (udev)
46 items:
47 type: object
48 properties:
49 name:
50 type: string
51 attributes:
52 type: array
53 items:
54 type: object
55 properties:
56 name:
57 type: string
58 value:
59 type: string
60 required:
61 - name
62 - value
63 blocking:
64 type: object
65 description: Block will prevent containers from starting if a device in the device cr is not ready
66 properties:
67 type: array
68 items:
69 type: object
70 properties:
71 name:
72 type: string
73 value:
74 type: string
75 required:
76 - name
77 - value
78 required:
79 - name
80 devices:
81 type: array
82 description: Devices contains a list of Device CRs to assign to this class
83 items:
84 type: object
85 properties:
86 name:
87 type: string
88 description: Name is the name of a Device CR
89 required:
90 - name
91 logging:
92 type: object
93 properties:
94 level:
95 type: string
96 served: true
97 storage: true
98 subresources:
99 status: {}
View as plain text