-
Notifications
You must be signed in to change notification settings - Fork 262
Failing to update chart containing child HelmRelease and nested values #167
Comments
This is due to Helm using Due to our versioned client injecting the The best way to patch this would be to patch Helm, I was able to get rid of the issue by using |
Thanks @hiddeco all makes sense, do you have any ideas for workaround on our end for the time being? I currently am unable to upgrade a few services due to this and would be fine with running a custom build/hack just to keep pushing forward. |
@stefansedich the following image should work, it has been built based on the work in the |
Fixing this bug requires upstream changes, ref: helm/helm#7401 |
@hiddeco @stefanprodan have you guys had any luck getting this one pushed through? |
Nop, but on a second thought we may be able to work around it by getting rid of the usage of If you are feeling adventurous; a contribution is always welcome. I did not find time (yet) to confirm or debunk this theory. |
Describe the bug
Given the following chart https://github.com/stefansedich/helm-test if one were to apply the outer release.yaml it would install the first time without issue however after an update say bumping the nested image tag we would see the following error:
failed to create patch: merging an object in json but data type is not struct, instead is: map
Installing directly with helm using
helm upgrade --install podinfo ./chart --values values.yaml
works without issue. And strangely enough if you were to reduce the nesting ofpodinfo.some.nested.image
topodinfo.some.image
helm-operator is able to install and update without issue.To Reproduce
Steps to reproduce the behaviour:
Expected behavior
Subsequent chart upgrades to work without issue.
Logs
Additional context
Add any other context about the problem here, e.g
The text was updated successfully, but these errors were encountered: