add optional resource limits to Machinaris Chart on `test` track (#137)
* add optional resource limits to Machinaris Chart on `test` track * removed question mark * regex validation of values * Memory validation comes straight from `k3s-io/k3s` in `vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go` * CPU validation is home-grown and allows both the fractional representation as well as the "millicore" representation, but because the minimum precision is `1m`, fractions and millicores cannot be used together ([read more](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu)) * any string containing a period MUST NOT end with an `m` as this must be a fractional representation * otherwise any string containing only digits MAY end with an `m` (to represent a number of millicores) or not (to represent one or more entire cores)
Showing
File moved
File moved
File moved
File moved
File moved
File moved
Please register or sign in to comment