argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

Make ARGOCD_GIT_MODULES_ENABLED configurable in argocd-cmd-params

Open crenshaw-dev opened this issue 2 years ago • 3 comments

Summary

For some reason ARGOCD_GIT_MODULES_ENABLED must be set directly on the repo-server Deployment instead of being set in the argocd-cmd-params-cm ConfigMap like most env vars. It should be configurable in that ConfigMap, and the new way of configuring it should be documened.

Motivation

Not following the pattern causes confusion.

crenshaw-dev avatar Aug 01 '22 13:08 crenshaw-dev

I would like to work on this.

pradeepnnv avatar Aug 02 '22 12:08 pradeepnnv

@pradeepnnv go for it!

crenshaw-dev avatar Aug 02 '22 15:08 crenshaw-dev

Interested in picking this up during the week if @pradeepnnv can't get around to it.

RyanTalbot avatar Aug 22 '22 10:08 RyanTalbot

  1. Add the env var to this file: https://github.com/argoproj/argo-cd/blob/master/manifests/base/repo-server/argocd-repo-server-deployment.yaml
  2. Document the configmap key here: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cmd-params-cm.yaml

crenshaw-dev avatar Oct 06 '22 19:10 crenshaw-dev

Thanks @crenshaw-dev for listing work for this ticket. I will start working on them.

doshianish8 avatar Oct 06 '22 19:10 doshianish8

Documentation should be updated accordingly here: https://argo-cd.readthedocs.io/en/stable/user-guide/private-repositories/#git-submodules

sjoukedv avatar Oct 26 '22 09:10 sjoukedv