-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat: Extra Helm values from external git repo #5826 #6280
feat: Extra Helm values from external git repo #5826 #6280
Conversation
Signed-off-by: Kai Reichart <kai@reichart.dev>
Codecov Report
@@ Coverage Diff @@
## master #6280 +/- ##
==========================================
- Coverage 41.10% 41.08% -0.03%
==========================================
Files 157 157
Lines 20967 21053 +86
==========================================
+ Hits 8619 8650 +31
- Misses 11122 11170 +48
- Partials 1226 1233 +7
Continue to review full report at Codecov.
|
@KaiReichart This change is very useful. Would you please fix the conflict and work with argocd team? |
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
Signed-off-by: Kai Reichart <kai@reichart.dev>
@KaiReichart Can you please update/rebase this so there are no conflicts and sign-off on your contribution to resolve the DCO? Instructions for doing so can be found here. |
The DCO is caused by @Reuuke and not @KaiReichart |
FWIW I suspect my teams' use case aligns more with @rouke-broersma comment earlier, and was a bit surprised in this PR to see the main ArgoCD Application CRD's I did a while back look a bit at the Application CRD's Re caching/invalidation - helm charts built for distribution are meant to be immutable (see helm/helm#3084) though the physical spec doesn't absolutely enforce this. Hence I'd like ArgoCD to monitor & update to see changes to the git repo storing the values file (if targetRevision == HEAD), but don't see any need to monitor/invalidate cache if the chart content changes. |
I like this also 👍 👍 |
Hi everyone, any updates here? |
You can read an update about this here: Maintainers agree to have this feature. However, the PR needs to accommodate some additional requirements w.r.t cache invalidation (from when the values in the git repo changes) and check the project restrictions to see if the referenced repo is in the allow list. Finally, because the feature is effectively allowing 2+ git/helm sources per application, we want the approach to be made in such a way that design could eventually support #677. All of these added requirements may be too much to ask of the original author, @KaiReichart, which is why we are offering to work on this, but in the v2.3 timeframe. |
Hi @jessesuen, maybe we'll mention also this issue #6280 in Milestone v2.3? |
@dracowf, agreed, adding PR and issue to milestone and roadmap.md |
I would like to help with this PR to speed up the process :) |
Hi there and good job Wanted to ask a question regarding the PR. Then the following ApplicationSet should work when merged, right?
|
Hi @KaiReichart , are you still working on this PR? Is it still in your list? |
will this be merged? where are we stuck? |
@tyrken approach seems more reasonable to me |
any idea when is this going to get merged ? |
Soo looking forward to this feature.. We use a central repo - that we sync to every location - which has helm charts etc. and common value files.. and then for each team - they have their own cluster they manage and store values files "to override defaults" - and decide which applications they run - in their own repo. |
@alexmt, Is it officially out of scope for the release v2.3 now? The community seems to be craving for that feature |
I also use helm chart as a central repo, and each microservice has its own value, this feature will work great for me. |
1 similar comment
I also use helm chart as a central repo, and each microservice has its own value, this feature will work great for me. |
could any one give us an update about this pr? or if its not towards argocds main goals, let us know so we can make our own forks as mentioned above, this feature is highly useful in our production environment |
@ArshiAAkhavan , we have an ongoing proposal doc on this PR that has been started and is being discussed in the community. Reviews on it would be helpful. |
@kostis-codefresh @romulus-ai
|
Closing in favor of multi-source repos, which is currently expected in 2.5. Sorry for the wait folks, we really want to get this right. 😃 |
ppl reading this is looking for: https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository |
Feature: External Helm values from git
CLOSES #5826
This PR allows for external values.yaml from other git repos in a helm installation.
Sample application.yaml
Current State:
CAVEATS:
Due to the way the caching system works, changes in external repos will only be checked when performing a hard refresh. Will address this in another PR.
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: