-
Notifications
You must be signed in to change notification settings - Fork 771
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
Set PVC volume size with kompose.volume.size #867
Conversation
Hey @abitrolly The code LGTM. May be good to get another quick review by @surajnarwade or @kadel Are you perhaps able to add any tests? To be honest, creating unit tests is a bit of a mess right-now, as we're still waiting for #805 to be merged in. If not, I don't mind creating a PR after your merge, as of right now, it's quite a manual process to create integration tests. |
Also: please combine commits to 1 commit! |
1. Copy labels from compose to kobject 2. If kompose.volume.size is set on service level, use it Internal API changes: - Add PVCSize to kobject Volumes struct - Pass default volume size as CreatePVC() param
Squashed and rebased. For tests, there is no info how to run them. =/ |
@abitrolly No worries on that, I'll push the PR tomorrow (it's a holiday here in Canada today) and see what tests I can write. I'll have to update #805 and add some documentation for future cases for adding tests. Thanks for the contribution! |
Looks like Travis check was not reported to GitHub correctly. I am right that tests are now shell-based? |
Yup. that is correct! Pushing the PR now. EDIT: Travis looked to have reported it incorrectly, but all green from here. |
#235
Example: