File tree Expand file tree Collapse file tree 7 files changed +597
-15
lines changed
helm/node-feature-discovery/crds Expand file tree Collapse file tree 7 files changed +597
-15
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,17 @@ type GroupRule struct {
183
183
// Name of the rule.
184
184
Name string `json:"name"`
185
185
186
+ // Vars is the variables to store if the rule matches. Variables can be
187
+ // referenced from other rules enabling more complex rule hierarchies.
188
+ // +optional
189
+ Vars map [string ]string `json:"vars"`
190
+
191
+ // VarsTemplate specifies a template to expand for dynamically generating
192
+ // multiple variables. Data (after template expansion) must be keys with an
193
+ // optional value (<key>[=<value>]) separated by newlines.
194
+ // +optional
195
+ VarsTemplate string `json:"varsTemplate"`
196
+
186
197
// MatchFeatures specifies a set of matcher terms all of which must match.
187
198
// +optional
188
199
MatchFeatures FeatureMatcher `json:"matchFeatures"`
Original file line number Diff line number Diff line change @@ -356,6 +356,19 @@ spec:
356
356
name :
357
357
description : Name of the rule.
358
358
type : string
359
+ vars :
360
+ additionalProperties :
361
+ type : string
362
+ description : |-
363
+ Vars is the variables to store if the rule matches. Variables can be
364
+ referenced from other rules enabling more complex rule hierarchies.
365
+ type : object
366
+ varsTemplate :
367
+ description : |-
368
+ VarsTemplate specifies a template to expand for dynamically generating
369
+ multiple variables. Data (after template expansion) must be keys with an
370
+ optional value (<key>[=<value>]) separated by newlines.
371
+ type : string
359
372
required :
360
373
- name
361
374
type : object
Original file line number Diff line number Diff line change @@ -356,6 +356,19 @@ spec:
356
356
name :
357
357
description : Name of the rule.
358
358
type : string
359
+ vars :
360
+ additionalProperties :
361
+ type : string
362
+ description : |-
363
+ Vars is the variables to store if the rule matches. Variables can be
364
+ referenced from other rules enabling more complex rule hierarchies.
365
+ type : object
366
+ varsTemplate :
367
+ description : |-
368
+ VarsTemplate specifies a template to expand for dynamically generating
369
+ multiple variables. Data (after template expansion) must be keys with an
370
+ optional value (<key>[=<value>]) separated by newlines.
371
+ type : string
359
372
required :
360
373
- name
361
374
type : object
You can’t perform that action at this time.
0 commit comments