stefanprodan / timoni

Timoni is a package manager for Kubernetes, powered by CUE and inspired by Helm.
https://timoni.sh
Apache License 2.0
1.51k stars 67 forks source link

Add resource requirements to Timoni's CUE schemas #265

Closed stefanprodan closed 9 months ago

stefanprodan commented 9 months ago

The timoniv1.#ResourceRequirements schema is intended for setting container CPU and memory requests and limits. Compared to the CUE generated corev1.#ResourceRequirements, the Timoni schema contains proper validation for the cpu and memory fields and enforces that the CPU requests do not exceed the limits.