1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

apis/nfd: update auto-generated code

This commit is contained in:
Markus Lehtonen 2022-12-22 17:58:20 +02:00
parent a4fc15a424
commit dfda9bccad
3 changed files with 18 additions and 12 deletions

View file

@ -52,6 +52,8 @@ spec:
required:
- elements
type: object
description: Attributes contains all the attribute-type features
of the node.
type: object
flags:
additionalProperties:
@ -67,6 +69,8 @@ spec:
required:
- elements
type: object
description: Flags contains all the flag-type features of the
node.
type: object
instances:
additionalProperties:
@ -89,11 +93,9 @@ spec:
required:
- elements
type: object
description: Instances contains all the instance-type features
of the node.
type: object
required:
- attributes
- flags
- instances
type: object
labels:
additionalProperties:
@ -101,8 +103,6 @@ spec:
description: Labels is the set of node labels that are requested to
be created.
type: object
required:
- features
type: object
required:
- spec

View file

@ -52,6 +52,8 @@ spec:
required:
- elements
type: object
description: Attributes contains all the attribute-type features
of the node.
type: object
flags:
additionalProperties:
@ -67,6 +69,8 @@ spec:
required:
- elements
type: object
description: Flags contains all the flag-type features of the
node.
type: object
instances:
additionalProperties:
@ -89,11 +93,9 @@ spec:
required:
- elements
type: object
description: Instances contains all the instance-type features
of the node.
type: object
required:
- attributes
- flags
- instances
type: object
labels:
additionalProperties:
@ -101,8 +103,6 @@ spec:
description: Labels is the set of node labels that are requested to
be created.
type: object
required:
- features
type: object
required:
- spec

View file

@ -35,10 +35,16 @@ message AttributeFeatureSet {
//
// +protobuf=true
message Features {
// Flags contains all the flag-type features of the node.
// +optional
map<string, FlagFeatureSet> flags = 1;
// Attributes contains all the attribute-type features of the node.
// +optional
map<string, AttributeFeatureSet> vattributes = 2;
// Instances contains all the instance-type features of the node.
// +optional
map<string, InstanceFeatureSet> instances = 3;
}