You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/ironic/runbook-crd/bases/baremetal.ironicproject.org_runbooks.yaml
+22-3Lines changed: 22 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,25 @@ spec:
41
41
- steps
42
42
properties:
43
43
runbookName:
44
-
description: 'RunbookName is the unique name of the runbook (REQUIRED). Must match trait naming convention, typically CUSTOM_*. This name is used to match runbooks to nodes via traits.'
44
+
description: 'RunbookName is the unique name of the runbook (REQUIRED). From API microversion 1.112+, this is a logical identifier and can be any string of 1-255 characters. Node eligibility is determined by the traits field instead.'
45
45
type: string
46
-
pattern: '^CUSTOM_[A-Z0-9_]+$'
46
+
pattern: '^[a-zA-Z0-9._-]+$'
47
47
minLength: 1
48
48
maxLength: 255
49
+
description:
50
+
description: 'Description is a human-readable description of the runbook (OPTIONAL). Consistent with other Ironic objects. Available from API microversion 1.112 onwards.'
51
+
type: string
52
+
nullable: true
53
+
maxLength: 1000
54
+
traits:
55
+
description: 'Traits is a list of traits that determine which nodes are permitted to use this runbook (OPTIONAL). Decouples runbook eligibility from the runbook name. Each trait must follow the CUSTOM_* naming convention. Available from API microversion 1.112 onwards. Default: []'
56
+
type: array
57
+
default: []
58
+
items:
59
+
type: string
60
+
pattern: '^CUSTOM_[A-Z0-9_]+$'
61
+
minLength: 1
62
+
maxLength: 255
49
63
steps:
50
64
description: 'Steps is an ordered list of operations to execute (REQUIRED). Minimum 1 step required.'
51
65
type: array
@@ -164,8 +178,13 @@ spec:
164
178
additionalPrinterColumns:
165
179
- name: Runbook Name
166
180
type: string
167
-
description: The runbook name used for trait matching
181
+
description: The runbook name
168
182
jsonPath: .spec.runbookName
183
+
- name: Description
184
+
type: string
185
+
description: Human-readable description of the runbook
0 commit comments