Closed
Description
Bug description
While testing PVC + prebuild, we enable the PVC feature flag internally (without enabling PVC on the project).
Then force the trigger to prebuild on repos. For example
- gitpod.io/#prebuild/https://gitlab.com/gitpod-io/template-python-flask
- gitpod.io/#prebuild/https://gitlab.com/gitpod-io/template-python-django
After that, all the users open the above repos https://gitlab.com/gitpod-io/template-python-flask, https://gitlab.com/gitpod-io/template-python-django makes the user use the PVC feature as well, which means the PVC and VolumeSnapshot object be created within the cluster. Furthermore, since we internal use the XL pool (PVC size is 50Gi), the normal user can't start the workspace because the user's PVC size is 30Gi which causes the PVC restore failure.
Steps to reproduce
- Enable PVC feature flag.
- Manually retrigger prebuild.
Workspace affected
No response
Expected behavior
No response
Example repository
No response