At start of the server, when git repository is clonned, submoduler are not cloned / updated.

I havent find any option to send "--recussive" option for git clone.
Does the option exist ? Do you have a way to clone the submodules ?

Comment From: ryanjbaxter

I don't believe so. This is a concept specific to git and not other backends so I dont think we have a way to do that.

Comment From: adelcourt

it's seems that jgit have an option to clone Submodule ; http://download.eclipse.org/jgit/site/4.7.1.201706071930-r/apidocs/org/eclipse/jgit/api/CloneCommand.html

@alexcorvino I seen you have worked on similar enhencement to clone on startup have you an idea ?

Comment From: ryanjbaxter

Right, but the config server supports other backends besides git (SVN, filesystem, Vault). That concept doesnt translate to those backends.

Comment From: spencergibb

I think this would be an enhancement specific to git. We already have a cloneOnStart option that is specific to git.

Comment From: TheSecMaven

this MR fixes our issue as well, would be a huge addition.

Comment From: spencergibb

This is now an option spring.cloud.config.server.git.clone-submodules=true.