Hey everyone! :wave: I’m looking to publish a Helm...
# general
s
Hey everyone! 👋 I’m looking to publish a Helm chart to an OCI registry (specifically ECR) using Pants, but I’m unsure how to manage the login process. I couldn’t find much detail in the documentation regarding authentication to OCI registries. Has anyone done this before or have pointers on how to approach it?
1
g
I'd expect the regular Docker authentication flow to apply equally for ECR? https://www.pantsbuild.org/2.22/docs/docker#docker-authentication
s
Thanks for the answer! I'm trying to publish a Helm chart, not a Docker image.
g
Hmm, sorry, yes. I thought the same process as for Docker should work (substituting the values), e.g. DOCKER_CONFIG -> HELM_CONFIG_HOME, but it doesn't seem that easy. https://github.com/pantsbuild/pants/issues/18101 mentions that it should maybe just work if you're logged in with
helm login
. I assume that information is outdated?
s
I was able to solve it! You need to login as indicated here.
g
Nice, so
helm registry login
was enough? No Pants config necessary?
👍 1