Files
Andreas Kupries 0b96bcb64f Extend Project ResourceQuotas to Support All Upstream Kubernetes ResourceQuota Types (#52544)
* extended resource quota limits with map for arbitrary resources
updated conversion func to handle the new map
updated empty check to be epxlicit
note: the map[string]string makes the struct incomparable to go

* fixup: generated files

* fix type casting in handling of anyOther

* fix: missing handling of anyOther in back-conversion (resource list to resourceQuota)
beware: also fixes mishandling of the dotted resources (ex: limits.cpu) by the function

* feat: added basic unit tests for the conversion functions

* address comments: tweak name of new field

* address comment: simplify empty check, by means of reflection

* address comment: extended error message

* tweak name, `Extended` now.

* avoid updates if nothing would change

* fixup: duplicated import

* basic unit tests - setValidated, updateResourceQuota, updateDefaultLimitRange

* address comments
2025-11-13 15:02:13 +01:00
..
2024-06-26 07:36:23 +05:30