Skip to content

Commit

Permalink
Add bootOptions to control plane tinkerbellmachinetemplate (aws#9113)
Browse files Browse the repository at this point in the history
Signed-off-by: EKS Distro PR Bot <aws-model-rocket-bots+eksdistroprbot@amazon.com>
Co-authored-by: EKS Distro PR Bot <aws-model-rocket-bots+eksdistroprbot@amazon.com>
  • Loading branch information
rahulbabu95 and eks-distro-pr-bot authored Dec 26, 2024
1 parent 1b040bf commit e0f7ec5
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/providers/tinkerbell/config/template-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ spec:
matchLabels: {{ range $key, $value := .hardwareSelector}}
{{ $key }}: {{ $value}}
{{- end }}
bootOptions:
bootMode: netboot
templateOverride: |
{{.controlPlanetemplateOverride | indent 8}}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ spec:
- labelSelector:
matchLabels:
type: node
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 0
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ spec:
- labelSelector:
matchLabels:
type: node
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 0
id: ""
Expand Down
2 changes: 2 additions & 0 deletions pkg/providers/tinkerbell/testdata/expected_kcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ spec:
- labelSelector:
matchLabels:
type: node
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 0
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ spec:
- labelSelector:
matchLabels:
type: cp
bootOptions:
bootMode: netboot
templateOverride: |
global_timeout: 6000
id: ""
Expand Down

0 comments on commit e0f7ec5

Please sign in to comment.