-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
ArgoCD CMP sub resource/repositiory credentials #16091
Comments
Could potentially be solved with #15107 |
@blakepettersson, thx for linking! If it is a more generic approach, not focusing on Git credentials only it may can be a solution (thinking of the OCI part which may needs another way of providing the creds) |
I appreciate the more generic approach that @FeltlP is taking to this problem, there's a challenge in identifying a valid credentials set that would be applicable to push to the sidecar. I'd love to discuss this as I've got the context from the work in #15107, feel free to reach out on the CNCF slack |
One of the interesting things I just found is the difference between I wonder if it makes sense to have a higher level |
I think most of the discussion around this issue is happening on #8820 |
@crenshaw-dev #8820 seems to have implemented a way to provide git credentials to CMPs, but I don't think it works for helm/oci credentials right? |
Describe the bug
CMP plugins are the proposed way to extend ArgoCD chart rendering, and according to the documentation/proposal should push plugins forward to become a first-class citizen.
That may hold up for use cases where the argocd-repo-server can fetch all dependencies (maybe there are none though) and push the results down to the CMP to render.
But as soon as you must fetch additional resources from Git, OCI, Helm repos, there are no credentials available out of the box to fulfill this task, even though all needed credentials already exist in the ArgoCD repository configs.
This missing credential push down functionallity is blocking all use cases that need to fetch additional resources like.
e.g.:
Kustomize with kustomizations pointing to sub-Git repositories.
Helm umbrella charts where sub charts need to get loaded via dependency updates from OCI or other Helm registries.
...
There is a bunch of open issues all framing the same situation as
Just to list some of the more prominent ones.
This current behavior leads to many workarounds that require mapping arbitrary credentials into the CMP sidecar, and is blocking CMP adoption for all use cases where the argocd-repo-sever can't provide everything in one go. (when talking about non public dependencies, which is more or less default in an enterprise setup)
To Reproduce
Expected behavior
Using plugins should behave similar in functionality as using native Helm & Kustomize support in ArgoCD
That does not mean, that no additional effort is expected, like linking repositories of interest (within the application? project?) for credential pushdown candidates, or whatever solution would do the trick to not maintain the same credentials on different layers.
Version
Logs
The text was updated successfully, but these errors were encountered: