Open sudocovik opened 1 month ago
Is this worth adding to docs?
Is this worth adding to docs?
That depends -- @sudocovik do you also need this workaround in order to use the helm
CLI directly? That is, can you install the same chart manually without that file?
I suspect this is due to the oras library helm uses, which AFAICT expects config to always exist on disk.
Well I don't use helm
directly, got Pulumi for that.
Anyway, I actually discovered that the problem is with devpod
.
It injects custom Docker config
and for some reason helm
does not like it. If I overwrite it with empy config {}
it works!
Seems like a rare issue, should we just close it?
Since there is heavy reliance on the ambient Docker configuration file, I think we should keep this open as an action item for us to specify this in our docs. Thanks for flagging this, and identifying the root issue.
I had a strange issue with OCI registry when using helm
Release
orChart
(v3/v4). Pulumi would exit immediately with an error message:Anyway, because I was running in a
devcontainer
without anything docker related in it, fix was simple: add blank .docker/config.json to my DockerfileNote: make sure you run this after
USER
directive if you are running as non-root (hopefully)!