resources:
limits:
cpu: 200m # <- I don't want to set up cpu, I have no option to skip it
memory: 64Mi
requests:
cpu: 1
ephemeral-storage: 8Gi
memory: 4G
resources.limits.cpu is inherited from charts values.yaml file and I have no option to skip any part of resources. In my particular scenario I don't want to set resources.limits.cpu.
This is a known helm behavior: https://github.com/helm/helm/issues/12488 where if the value is defined in the ancestor (helm chart in this case) I'm not able to omit a part of it.
Steps to reproduce the bug
Create values.yaml file with following content (without resources.limits.cpu):
Describe the bug
Currently Unleash Edge helm charts sets default cpu and memory
resources
limits in: https://github.com/Unleash/helm-charts/blob/4cd3a4a2afec1a3048ccbafc2a7c869c64393ed4/charts/unleash-edge/values.yaml#L47-L53As a consequence we lost the ability to specify only subset of
requests
in our localvalues.yaml
files, e.g:It is rendering to:
resources.limits.cpu
is inherited from chartsvalues.yaml
file and I have no option to skip any part ofresources
. In my particular scenario I don't want to setresources.limits.cpu
.This is a known helm behavior: https://github.com/helm/helm/issues/12488 where if the value is defined in the ancestor (helm chart in this case) I'm not able to omit a part of it.
Steps to reproduce the bug
values.yaml
file with following content (withoutresources.limits.cpu
):Expected behavior
The chart should not set default
resources
, similar to how this is done in Unleash: https://github.com/Unleash/helm-charts/blob/4cd3a4a2afec1a3048ccbafc2a7c869c64393ed4/charts/unleash/values.yaml#L193-L204Logs, error output, etc.
No response
Screenshots
No response
Additional context
Checked on the latest helm chart version: 3.0.6
Unleash version
No response
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
No response