Skip to content

Commit 715d2d2

Browse files
authored
fix(api): AME-3547 add enableNodeReboots to node pool (#50)
Added the `EnableNodeReboots` boolean field to the `CreateNodePool` struct. This field allows configuration of automatic node reboots as part of the node pool lifecycle management. Jira ticket: AME-3547 Signed-off-by: Mark Freriks <m.freriks@avisi.nl>
1 parent 02c5c3e commit 715d2d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/acloudapi/apitypes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ type CreateNodePool struct {
300300
MaxSize int `json:"maxSize" yaml:"MaxSize"`
301301
AutoScaling bool `json:"autoScaling" yaml:"AutoScaling"`
302302
NodeAutoReplacement bool `json:"enableNodeAutoReplacement" yaml:"EnableNodeAutoReplacement"`
303+
EnableNodeReboots bool `json:"enableNodeReboots" yaml:"EnableNodeReboots"`
303304
UpgradeStrategy NodePoolUpgradeStrategy `json:"upgradeStrategy,omitempty" yaml:"UpgradeStrategy"`
304305
Annotations map[string]string `json:"annotations" yaml:"Annotations"`
305306
Labels map[string]string `json:"labels" yaml:"Labels"`

0 commit comments

Comments
 (0)