...

Text file src/edge-infra.dev/config/pallets/sds/device-system/device-agent/crds/device-system.edge.ncr.com_devicesets.yaml

Documentation: edge-infra.dev/config/pallets/sds/device-system/device-agent/crds

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: devicesets.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: DeviceSet
    11    listKind: DeviceSetList
    12    plural: devicesets
    13    singular: deviceset
    14  scope: Cluster
    15  versions:
    16  - name: v1
    17    schema:
    18      openAPIV3Schema:
    19        type: object
    20        properties:
    21          apiVersion:
    22            type: string
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28          kind:
    29            type: string
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36          metadata:
    37            type: object
    38          spec:
    39            type: object
    40            properties:
    41              deviceSets:
    42                type: array
    43                description: DeviceSets contains a list of matchers based on device properties and attributes (udev)
    44                items:
    45                  type: object
    46                  properties:
    47                    name:
    48                      type: string
    49                    attributes:
    50                      type: array
    51                      items:
    52                        type: object
    53                        properties:
    54                          name:
    55                            type: string
    56                          value:
    57                            type: string
    58                        required:
    59                        - name
    60                        - value
    61                    blocking:
    62                      type: object
    63                      description: Block will prevent containers from starting if a device in the device cr is not ready
    64                    properties:
    65                      type: array
    66                      items:
    67                        type: object
    68                        properties:
    69                          name:
    70                            type: string
    71                          value:
    72                            type: string
    73                        required:
    74                        - name
    75                        - value
    76                  required:
    77                  - name
    78            required:
    79            - deviceSets
    80    served: true
    81    storage: true

View as plain text