Skip to content
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

Conditionalize source and mode in Bootstrap container template #335

Merged

Conversation

vyaghras
Copy link
Contributor

@vyaghras vyaghras commented Jan 2, 2025

Issue number:

Closes #

Description of changes:
Add a option in Bootstrap-containers binary to render the source for the Bootstrap container when unavailable. We will use the provided source if it is present.

Testing done:

  • Confirm that template works.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@vyaghras vyaghras marked this pull request as draft January 2, 2025 19:03
@vyaghras
Copy link
Contributor Author

vyaghras commented Jan 2, 2025

This change is blocked by #294 .

@vyaghras vyaghras force-pushed the enable-rendering-bootstrap-source branch from be3af68 to ee6bd96 Compare January 31, 2025 23:00
@vyaghras vyaghras changed the title Enable rendering bootstrap source Conditionalize source and mode in Bootstrap container template Jan 31, 2025
@vyaghras vyaghras force-pushed the enable-rendering-bootstrap-source branch from ee6bd96 to 90e8b3f Compare January 31, 2025 23:36
@vyaghras vyaghras marked this pull request as ready for review January 31, 2025 23:37
Copy link
Contributor

@bcressey bcressey left a comment

Choose a reason for hiding this comment

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

For the commit message:

We need to make source and mode optional.

Can you say more about why? What's changing or what was wrong about the original assumptions that these fields would be set?

We need to make source and mode optional.
We are adding managed Bootstrap container in Bottlerocket, i.e source
for Bootstrap container will be optional with managed Bootstrap
container images. We can still provide the source that will take
preferrence over the default Bootstrap container image.
@vyaghras vyaghras force-pushed the enable-rendering-bootstrap-source branch from 90e8b3f to 8a9afd8 Compare February 3, 2025 16:51
@vyaghras vyaghras merged commit 1beb172 into bottlerocket-os:develop Feb 5, 2025
2 checks passed
@vyaghras vyaghras deleted the enable-rendering-bootstrap-source branch February 5, 2025 23:25
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.

3 participants