Allow GitLab workspaces to be created without cpu limit

CPU limits can cause unnecessary cpu throttling. When default_resources_per_workspace_container is set, it requires value for both requests and limits for both cpu and memory. Please allow cpu limit to be either not set, or set to null (currently not working).

If default_resources_per_workspace_container is not set it is possible to set only cpuRequest, memoryRequest, & memoryLimit in Devfile. If default_resources_per_workspace_container is set however it is forced that all 4 are set. It should be possible to set cpuRequest: "null" but currently that fails with quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'.

I have tried the usual tricks like removing cpu limit using Kyverno however it appears agent must be just adding it right back.

Edited by 🤖 GitLab Bot 🤖