Skip to content

Commit 605f7b4

Browse files
authored
fix: include GenericNodeSpec in aggregate type (#1182)
**What problem does this PR solve?**: Allows clients to set common values for nodepools. **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent dfee5fa commit 605f7b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/variables/aggregate_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ type WorkerNodeConfigSpec struct {
4747
Docker *carenv1.DockerNodeSpec `json:"docker,omitempty"`
4848

4949
Nutanix *carenv1.NutanixNodeSpec `json:"nutanix,omitempty"`
50+
51+
carenv1.GenericNodeSpec `json:",inline"`
5052
}
5153

5254
type Addons struct {

0 commit comments

Comments
 (0)