Skip to content

Commit b3d198a

Browse files
committed
update kubernetes-sigs/node-feature-discovery-operator
Signed-off-by: Sebastian Hoß <[email protected]>
1 parent dd66df1 commit b3d198a

File tree

13 files changed

+884
-6
lines changed

13 files changed

+884
-6
lines changed

code-generator/src/catalog.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,8 +2280,10 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
22802280
project_name: "kubernetes-sigs/node-feature-discovery-operator",
22812281
license: APACHE_V2,
22822282
urls: &[
2283+
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/nfd.k8s-sigs.io_nodefeaturegroups.yaml",
2284+
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/nfd.k8s-sigs.io_nodefeatures.yaml",
2285+
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/nfd.k8s-sigs.io_v1alpha1_nodefeaturerules.yaml",
22832286
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml",
2284-
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/nfd.kubernetes.io_v1alpha1_nodefeaturerules.yaml",
22852287
"https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/config/crd/bases/node.k8s.io_v1alpha1_noderesourcetopologies.yaml",
22862288
],
22872289
ignores: &[],
Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
apiVersion: "apiextensions.k8s.io/v1"
2+
kind: "CustomResourceDefinition"
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: "v0.14.0"
6+
name: "nodefeaturegroups.nfd.k8s-sigs.io"
7+
spec:
8+
group: "nfd.k8s-sigs.io"
9+
names:
10+
kind: "NodeFeatureGroup"
11+
listKind: "NodeFeatureGroupList"
12+
plural: "nodefeaturegroups"
13+
shortNames:
14+
- "nfg"
15+
singular: "nodefeaturegroup"
16+
scope: "Namespaced"
17+
versions:
18+
- name: "v1alpha1"
19+
schema:
20+
openAPIV3Schema:
21+
description: "NodeFeatureGroup resource holds Node pools by featureGroup"
22+
properties:
23+
apiVersion:
24+
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
25+
type: "string"
26+
kind:
27+
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
28+
type: "string"
29+
metadata:
30+
type: "object"
31+
spec:
32+
description: "Spec defines the rules to be evaluated."
33+
properties:
34+
featureGroupRules:
35+
description: "List of rules to evaluate to determine nodes that belong in this group."
36+
items:
37+
description: "GroupRule defines a rule for nodegroup filtering."
38+
properties:
39+
matchAny:
40+
description: "MatchAny specifies a list of matchers one of which must match."
41+
items:
42+
description: "MatchAnyElem specifies one sub-matcher of MatchAny."
43+
properties:
44+
matchFeatures:
45+
description: "MatchFeatures specifies a set of matcher terms all of which must match."
46+
items:
47+
description: "FeatureMatcherTerm defines requirements against one feature set. All\nrequirements (specified as MatchExpressions) are evaluated against each\nelement in the feature set."
48+
properties:
49+
feature:
50+
description: "Feature is the name of the feature set to match against."
51+
type: "string"
52+
matchExpressions:
53+
additionalProperties:
54+
description: "MatchExpression specifies an expression to evaluate against a set of input\nvalues. It contains an operator that is applied when matching the input and\nan array of values that the operator evaluates the input against."
55+
properties:
56+
op:
57+
description: "Op is the operator to be applied."
58+
enum:
59+
- "In"
60+
- "NotIn"
61+
- "InRegexp"
62+
- "Exists"
63+
- "DoesNotExist"
64+
- "Gt"
65+
- "Lt"
66+
- "GtLt"
67+
- "IsTrue"
68+
- "IsFalse"
69+
type: "string"
70+
value:
71+
description: "Value is the list of values that the operand evaluates the input\nagainst. Value should be empty if the operator is Exists, DoesNotExist,\nIsTrue or IsFalse. Value should contain exactly one element if the\noperator is Gt or Lt and exactly two elements if the operator is GtLt.\nIn other cases Value should contain at least one element."
72+
items:
73+
type: "string"
74+
type: "array"
75+
required:
76+
- "op"
77+
type: "object"
78+
description: "MatchExpressions is the set of per-element expressions evaluated. These\nmatch against the value of the specified elements."
79+
type: "object"
80+
matchName:
81+
description: "MatchName in an expression that is matched against the name of each\nelement in the feature set."
82+
properties:
83+
op:
84+
description: "Op is the operator to be applied."
85+
enum:
86+
- "In"
87+
- "NotIn"
88+
- "InRegexp"
89+
- "Exists"
90+
- "DoesNotExist"
91+
- "Gt"
92+
- "Lt"
93+
- "GtLt"
94+
- "IsTrue"
95+
- "IsFalse"
96+
type: "string"
97+
value:
98+
description: "Value is the list of values that the operand evaluates the input\nagainst. Value should be empty if the operator is Exists, DoesNotExist,\nIsTrue or IsFalse. Value should contain exactly one element if the\noperator is Gt or Lt and exactly two elements if the operator is GtLt.\nIn other cases Value should contain at least one element."
99+
items:
100+
type: "string"
101+
type: "array"
102+
required:
103+
- "op"
104+
type: "object"
105+
required:
106+
- "feature"
107+
type: "object"
108+
type: "array"
109+
required:
110+
- "matchFeatures"
111+
type: "object"
112+
type: "array"
113+
matchFeatures:
114+
description: "MatchFeatures specifies a set of matcher terms all of which must match."
115+
items:
116+
description: "FeatureMatcherTerm defines requirements against one feature set. All\nrequirements (specified as MatchExpressions) are evaluated against each\nelement in the feature set."
117+
properties:
118+
feature:
119+
description: "Feature is the name of the feature set to match against."
120+
type: "string"
121+
matchExpressions:
122+
additionalProperties:
123+
description: "MatchExpression specifies an expression to evaluate against a set of input\nvalues. It contains an operator that is applied when matching the input and\nan array of values that the operator evaluates the input against."
124+
properties:
125+
op:
126+
description: "Op is the operator to be applied."
127+
enum:
128+
- "In"
129+
- "NotIn"
130+
- "InRegexp"
131+
- "Exists"
132+
- "DoesNotExist"
133+
- "Gt"
134+
- "Lt"
135+
- "GtLt"
136+
- "IsTrue"
137+
- "IsFalse"
138+
type: "string"
139+
value:
140+
description: "Value is the list of values that the operand evaluates the input\nagainst. Value should be empty if the operator is Exists, DoesNotExist,\nIsTrue or IsFalse. Value should contain exactly one element if the\noperator is Gt or Lt and exactly two elements if the operator is GtLt.\nIn other cases Value should contain at least one element."
141+
items:
142+
type: "string"
143+
type: "array"
144+
required:
145+
- "op"
146+
type: "object"
147+
description: "MatchExpressions is the set of per-element expressions evaluated. These\nmatch against the value of the specified elements."
148+
type: "object"
149+
matchName:
150+
description: "MatchName in an expression that is matched against the name of each\nelement in the feature set."
151+
properties:
152+
op:
153+
description: "Op is the operator to be applied."
154+
enum:
155+
- "In"
156+
- "NotIn"
157+
- "InRegexp"
158+
- "Exists"
159+
- "DoesNotExist"
160+
- "Gt"
161+
- "Lt"
162+
- "GtLt"
163+
- "IsTrue"
164+
- "IsFalse"
165+
type: "string"
166+
value:
167+
description: "Value is the list of values that the operand evaluates the input\nagainst. Value should be empty if the operator is Exists, DoesNotExist,\nIsTrue or IsFalse. Value should contain exactly one element if the\noperator is Gt or Lt and exactly two elements if the operator is GtLt.\nIn other cases Value should contain at least one element."
168+
items:
169+
type: "string"
170+
type: "array"
171+
required:
172+
- "op"
173+
type: "object"
174+
required:
175+
- "feature"
176+
type: "object"
177+
type: "array"
178+
name:
179+
description: "Name of the rule."
180+
type: "string"
181+
required:
182+
- "name"
183+
type: "object"
184+
type: "array"
185+
required:
186+
- "featureGroupRules"
187+
type: "object"
188+
status:
189+
description: "Status of the NodeFeatureGroup after the most recent evaluation of the\nspecification."
190+
properties:
191+
nodes:
192+
description: "Nodes is a list of FeatureGroupNode in the cluster that match the featureGroupRules"
193+
items:
194+
properties:
195+
name:
196+
description: "Name of the node."
197+
type: "string"
198+
required:
199+
- "name"
200+
type: "object"
201+
type: "array"
202+
x-kubernetes-list-map-keys:
203+
- "name"
204+
x-kubernetes-list-type: "map"
205+
type: "object"
206+
required:
207+
- "spec"
208+
type: "object"
209+
served: true
210+
storage: true
211+
subresources:
212+
status: {}

0 commit comments

Comments
 (0)