Skip to content

Commit

Permalink
initial commit with new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham2512 committed Nov 16, 2024
1 parent 140edef commit 6bd1bc8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions api/hardwaremanagement/v1alpha1/node_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,18 @@ type NodePoolSpec struct {
HwMgrId string `json:"hwMgrId,omitempty"`

//+operator-sdk:csv:customresourcedefinitions:type=spec
NodeGroup []NodeGroup `json:"nodeGroup"`
NodeGroup []NodeGroup `json:"nodeGroup"`
Extensions map[string]string `json:"extensions"`
}

type NodeGroup struct {
Name string `json:"name" yaml:"name"`
HwProfile string `json:"hwProfile"`
Size int `json:"size" yaml:"size"`
// +kubebuilder:validation:MinItems=1
Interfaces []string `json:"interfaces,omitempty"`
Interfaces []string `json:"interfaces,omitempty"`
ResourcePoolId string `json:"resourcePoolId"`
Role string `json:"role"`
}

type Properties struct {
Expand Down

0 comments on commit 6bd1bc8

Please sign in to comment.