---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.14.0
  name: nodefeatures.nfd.k8s-sigs.io
spec:
  group: nfd.k8s-sigs.io
  names:
    kind: NodeFeature
    listKind: NodeFeatureList
    plural: nodefeatures
    singular: nodefeature
  scope: Namespaced
  versions:
    - name: v1alpha1
      schema:
        openAPIV3Schema:
          properties:
            apiVersion:
              type: string
            kind:
              type: string
            metadata:
              type: object
            spec:
              properties:
                features:
                  properties:
                    attributes:
                      additionalProperties:
                        properties:
                          elements:
                            additionalProperties:
                              type: string
                            type: object
                        required:
                          - elements
                        type: object
                      type: object
                    flags:
                      additionalProperties:
                        properties:
                          elements:
                            additionalProperties:
                              type: object
                            type: object
                        required:
                          - elements
                        type: object
                      type: object
                    instances:
                      additionalProperties:
                        properties:
                          elements:
                            items:
                              properties:
                                attributes:
                                  additionalProperties:
                                    type: string
                                  type: object
                              required:
                                - attributes
                              type: object
                            type: array
                        required:
                          - elements
                        type: object
                      type: object
                  type: object
                labels:
                  additionalProperties:
                    type: string
                  type: object
              type: object
          required:
            - spec
          type: object
      served: true
      storage: true
