Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use at least minimum PVC size when mountSources used
Fix #1239 This commit fixes an edge case where a devworkspace that has no volume components, but has a container component with mountSources enabled will request a PVC size of 0 when using the per-workspace storage strategy. When mountSources are used, the devworkspace requires storage to store the project sources. However, it is unknown how much storage is actually required for the project sources. Thus, we treat container components with mountSources enabled as if they were volume components with an unspecified size. Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
- Loading branch information