-
Notifications
You must be signed in to change notification settings - Fork 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
Disable the submodule fetch in a declarative way #3799
Comments
Is there a possibility of getting this in? I need to disable submodules for a single app, but don't want to disable globally and this is currently preventing me from using ArgoCD for this app. |
We would like to utilize this feature as well. |
Especially useful if you have repo pointing to github.com, and your argocd is in offline mode, because of security constraints. The deployment fail like;
|
For everyone like me, who had no idea how to disable it globally, kubectl set env deployment/argocd-repo-server ARGOCD_GIT_MODULES_ENABLED=false |
Another voice of support here, pulling submodules is causing a lot of issues for me. |
For the helm chart: repoServer:
env:
- name: ARGOCD_GIT_MODULES_ENABLED
value: "false" |
I'd be in favor of a new field in the Application spec to disable submodules for a specific App. Also trying to improve discoverability of the global config item: #10157 |
I really like the idea of having it the declarative way as described in the proposal. Maybe this should also be configurable per |
… there are no solution to disable the submodule fetch in a declarative way cf. argoproj/argo-cd#3799
How to use command parameters in the cli command to disable it? |
Summary
It would be great to have the possibility to disable the sub-modules feature in a declarative way.
Today it is only possible globally as documented here https://argoproj.github.io/argo-cd/user-guide/private-repositories/#git-submodules
Ideally it would part of the Declarative Setup as defined here https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/
Motivation
We have a project that doesn't need to fetch all the sub-modules in all the stages.
So it would be great if we can control such config in a declarative way.
Proposal
The idea is to have a feature toggle directly in the repo declaration like:
The text was updated successfully, but these errors were encountered: