Skip to content

✨ Add non root volumes to AWSMachineTemplate#591

Merged
mnitchev merged 1 commit intorelease-2.3from
non-root-volumes
Apr 25, 2024
Merged

✨ Add non root volumes to AWSMachineTemplate#591
mnitchev merged 1 commit intorelease-2.3from
non-root-volumes

Conversation

@mnitchev
Copy link
Copy Markdown

@mnitchev mnitchev requested a review from a team April 25, 2024 06:45
@mnitchev mnitchev changed the title Add non root volumes to AWSMachineTemplate ✨ Add non root volumes to AWSMachineTemplate Apr 25, 2024
Copy link
Copy Markdown

@calvix calvix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mnitchev mnitchev merged commit 16d1f6e into release-2.3 Apr 25, 2024
blockDeviceMappings = append(blockDeviceMappings, blockDeviceMapping)
}

if len(blockDeviceMappings) > 0 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this will never be zero as you always at least append the root volume, but I guess it does no break anything to have this condition here

Copy link
Copy Markdown
Author

@mnitchev mnitchev Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The root volume field is marked as optional, which is why I added this

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants