You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without setting the recommender.resources.limits.cpu value, it inherits the 200m value from the chart defaults, I don't want a CPU limit at all.
In the ArgoCD UI, there's no recommender.resources.limits.cpu key or value visible in the manifest. If I edit the manifest in the UI and add the key and null value in, it disappears from the manifest.
The desired manifest then shows the 200m value.
Expected behavior
null should be passed through to the underlying Helm chart.
I think there has been a helm upgrade in one of the later versions of ArgoCD. There have been some recent changes around overriding values like this in helm. This may be a shot. I can override with null as you desire (v2.9.3), but then I run into #15566.
There is a PR helm/helm#12879 to fix this bug on the Helm side, but it seems no one reviewed it. This bug is super annoying, and we cannot downgrade to the lower version above 2.9.1 to workaround this issue
ah helm... can't wait for the community to move to something like Jsonnet. Also, if you want you can wrap helm in Jsonnet using Tanka. https://tanka.dev/helm/ then you can explicitly change whatever you want that helm doesn't support, or that a specific chart (via the values file) doesn't support.
Checklist:
argocd version
.Describe the bug
I'm trying to pass a
null
as a Helm value to knock out a default chart value and ArgoCD seems to be stripping the value from the Application manifest.The only bug I could find that seemed vaguely similar was #15566.
To Reproduce
Without setting the
recommender.resources.limits.cpu
value, it inherits the 200m value from the chart defaults, I don't want a CPU limit at all.In the ArgoCD UI, there's no
recommender.resources.limits.cpu
key or value visible in the manifest. If I edit the manifest in the UI and add the key andnull
value in, it disappears from the manifest.The desired manifest then shows the 200m value.
Expected behavior
null
should be passed through to the underlying Helm chart.Screenshots
Version
The text was updated successfully, but these errors were encountered: