Skip to content

Commit 3788dca

Browse files
authored
Merge pull request #235 from chr15p/master
sync nodefeaturerules crd config with helm
2 parents 7654a84 + 80b8ccf commit 3788dca

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

config/crd/bases/nfd.k8s-sigs.io_v1alpha1_nodefeaturerules.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
kind: NodeFeatureRule
1212
listKind: NodeFeatureRuleList
1313
plural: nodefeaturerules
14+
shortNames:
15+
- nfr
1416
singular: nodefeaturerule
1517
scope: Namespaced
1618
versions:
@@ -186,6 +188,35 @@ spec:
186188
name:
187189
description: Name of the rule.
188190
type: string
191+
taints:
192+
description: Taints to create if the rule matches.
193+
items:
194+
description: The node this Taint is attached to has the "effect"
195+
on any pod that does not tolerate the Taint.
196+
properties:
197+
effect:
198+
description: Required. The effect of the taint on pods
199+
that do not tolerate the taint. Valid effects are NoSchedule,
200+
PreferNoSchedule and NoExecute.
201+
type: string
202+
key:
203+
description: Required. The taint key to be applied to
204+
a node.
205+
type: string
206+
timeAdded:
207+
description: TimeAdded represents the time at which the
208+
taint was added. It is only written for NoExecute taints.
209+
format: date-time
210+
type: string
211+
value:
212+
description: The taint value corresponding to the taint
213+
key.
214+
type: string
215+
required:
216+
- effect
217+
- key
218+
type: object
219+
type: array
189220
vars:
190221
additionalProperties:
191222
type: string

0 commit comments

Comments
 (0)