Open pazfelipe opened 1 month ago
I am also facing the same issue.
Looking forward to see this bug fixed
According to the error message, enabling submodules worked fine. The problem is that repo-server doesn't have access to pull the submodule. What steps have you taken to try to grant access?
@crenshaw-dev , thanks for replying back.
As mentioned in the above messages, I’ve configured the ConfigMap and added the environment variable directly to the ArgoCD server deployment referring to the ConfigMap. I also created an SSH key inside the pod and added this key to the GitHub repository. I was even able to clone the repository into the ArgoCD server pod. However, when I try to create the application via yaml or the UI, I get the error shared above
Checklist:
argocd version
.Describe the bug
I'm trying to create an application that contains a submodule in its root path. I've already configured other applications, however, their submodules were in different location, like a subfolder for example. For this particular resource, I can't create the application due to this limitation.
I have already added
applicationsetcontroller.enable.git.submodule: "true"
in theargocd-cmd-params-cm
, addedreposerver.enable.git.submodule: "true"
, addedin the argocd-server deployment and none of them worked.
To Reproduce
Create an application which have a git submodule in its root folder
Expected behavior
To be able to create the application with no problem related to the submodule or ignore the submodule and create the application considering the target branch and path only
Screenshots
Version
Logs