-
Feature Request
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
Improvement
-
False
-
None
-
False
-
Quay
-
Not Selected
-
100% To Do, 0% In Progress, 0% Done
-
-
1. Improve the Quota API humand readable values to be accepted
2. What is the nature and description of the request?
the Quota API `/v1/superuser/users/<namespace>/quota` and `/v1/superuser/organization/<namespace>/quota` on the `PUT` and `POST` methods do not validate the submitted values correctly in relation to the supported Unit values of the underlying module. Furthermore, it is not possible to utilize floats that are anyway converted to bytes which are stored as `integer`.
An explicit statement in the Documentation on expected values while converting between values multiplied by `1000` (KB, MB, GB,..) and `1024` (KiB, MiB, GiB) should simplify expectation of customers.
3. Why does the customer need this?
The requirement for the validation simplifies automation through API as well as more understandable reasons why values are rejected or not reflecting what Customer expect to be set as Quota value, eq setting `100 GB` will result in an effective of `93 GiB` to be store able until Quota will reject.
4. List any affected packages or components.
- API endpoints:
- /v1/superuser/users/<namespace>/quota
- /v1/superuser/organization/<namespace>/quota