-
Notifications
You must be signed in to change notification settings - Fork 65
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
Ephemeral volumes #324
Ephemeral volumes #324
Conversation
Add field "ephemeral" to Volume components to specify that this volume should not be persisted. This enables creating devfiles that share storage between components without having to store data in a persistent volume. Signed-off-by: Angel Misevski <[email protected]>
Signed-off-by: Angel Misevski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amisevsk, davidfestal, elsony, kadel, sleshchenko The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?
This PR is half of #319 (support for ephemeral/emptyDir volume components). These components provide a way to share storage between components -- e.g. sharing a
.m2
volume between a builder container and a Java language server sidecar.Compared to #319, I've renamed the field from
persistent
toephemeral
(following @davidfestal's suggestion) to support havingfalse
as the default value; otherwise, we're generally required to use a boolean pointer, which is a hassle to work with.What issues does this PR fix or reference?
Fixes 1/2 of #310
Is your PR tested? Consider putting some instruction how to test your changes
N/A, spec change.