Closed erulabs closed 1 year ago
I think I'd be more in favor of just simply allowing the user to define their own resources, with a default in the values.yaml, similar to how, eg, the haproxy helm chart operates on "resources".
Let me know and I can swap it to that pattern!
Cute fix, thank you!
Currently, the default CPU limit of "1" cannot be removed, because of the usage of merge here. Using mergeOverwrite will allow us to define "cpu: null" and wipe the CPU limit.
Note: It's worth a mention that in general, CPU limits are an anti-pattern and usually extremely wasteful in production!