Open ftmiro opened 4 months ago
ApplicationSet controller requests to the repo-server override the repo-server's default submodule configuration. This allows people to enable or disable submodules only for AppSet controller requests.
To toggle the appset controller's submodule setting, use the following:
applicationsetcontroller.enable.git.submodule: "false"
@crenshaw-dev , could you be more specific about the location that we should apply this configuration?
applicationsetcontroller.enable.git.submodule: "false"
@pazfelipe set that value in argocd-cmd-params-cm and then restart the appset controller.
Checklist:
argocd version
.Describe the bug
I have an ApplicationSet failing to fetch files from a
git
generator due the repository used in the generator contain agitmodule
file referencing a repository usinggit
(ssh
) protocol, which I don't have an account registered in ArgoCD.To Reproduce
Confirm that the argocd-repo-server pods have the following environment variable in it:
Create an applicationset with a Git generator that refers to a repository containing a submodule pointing to a private repository with no account registered in ArgoCD.
Expected behavior
No errors related to git submodules or attempts to fetch submodules
Version
Logs