-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kustomize-build
step should support private OCI helmCharts
#3310
Comments
This is similar to #2477, but for helm |
It should be noted that kustomize itself lacks the feature to pass credentials: But I think the above issue applies to HTTP repos and we could still do something for OCI, which IMO is becoming the trend/norm. |
I bet we could populate a temporary and randomized directory for the duration of the |
Helm maintains its own set of credentials, i.e. logging in to |
Something to take into account is that we are currently also preparing credentials for the |
Proposed Feature
My preferred way of deploying helm charts is via kustomized helm. e.g.:
The challenge is if
repo
is a private repo and needs image credentials, thekustomize build
will fail in kargo.On a workstation it works if your environment is logged into the private image repo. I believe this works because the
helm
command will know to use credentials from~/.docker/config.json
in order to authenticate to the remote registry. We need to make it possible for this to work in promotion.Motivation
Kustomize is not fully functional to workstation capabilities.
Suggested Implementation
For the kustomize build command, we could set the
~/.docker/config.json
so thathelm
will work. But this should not be done globally, obviously since would mean all projects could access it, so we need to be mindful of how to do this securely.The text was updated successfully, but these errors were encountered: