-
Notifications
You must be signed in to change notification settings - Fork 24
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
Private OCI chart repositories not working #717
Comments
Hi, definitely open to being flexible here. The main reason this is disabled is so that helm only looks at things defined in the repository. I am not super familiar with the details of OCI other than basics to make it work, nor how to configure private repos. Happy to talk through a solution (one of the options you propose may be the right one) though may need some help understanding a little more what the workflow is supposed to look like. Can you give me a little more background on how you set this up and specify private oci helm chart repos in practice? There is also discussion in #301 so wondering if a single approach solves both. |
@allenporter okay that sounds good so far :) For the OCI helm chart we have Harbor setup up (https://github.com/goharbor/harbor), which we also use for our docker images already. And the issue with the hardcoded flag is that adding credentials will not work because its not used afterwards.
this will be written into the The path what file should be used to lookup registry auths can be configured with this parameter
And there is the problem because this is hardcoded to I guess the best solution without a breaking change would be to expose this parameter to the flux-local cli and keep As #301 is referring to "http" charts i'm not sure if this would fix it here as well. But i would expect that If not exposing
could be the fix here as well. Best regards |
I've added a |
@allenporter i've just tested the lastest version and it works now for our setup with private OCI chart repos Thanks! |
Hi,
i'm trying to get flux-local running but i'm struggling with a private OCI helm chart repo (Harbor).
I guess the issue is that the registry-config parameter is set to
/dev/null
https://github.com/allenporter/flux-local/blob/main/flux_local/helm.py#L163
This also seems to block the possibility to change it using the env variable.
So i'm curious what the reason is why the registry-config is set to
/dev/null
?Maybe this could be removed or at least made be configurable so its possible to use private OCI registries?
Thanks
The text was updated successfully, but these errors were encountered: