Skip to content

✨ Add non root volumes to AWSMachineTemplate #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

mnitchev
Copy link

@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

@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

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
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

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