Skip to content

Commit c00b601

Browse files
authored
Merge pull request #628 from pjbgf/document-experimental-transport
Add experimental transport to spec documentation
2 parents 499d569 + ca64fac commit c00b601

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/spec/v1beta2/gitrepositories.md

+11
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,17 @@ Some Git providers like Azure DevOps _require_ the `libgit2` implementation, as
384384
their Git servers provide only support for the
385385
[v2 protocol](https://git-scm.com/docs/protocol-v2).
386386

387+
#### Experimental managed transport for `libgit2` Git implementation
388+
389+
The `libgit2` Git implementation supports a new experimental transport for
390+
improved reliability, adding timeout enforcement for Git network operations.
391+
Opt-in by setting the environment variable `EXPERIMENTAL_GIT_TRANSPORT` to
392+
`true` in the controller's Deployment. This will result in the low-level
393+
transport being handled by the controller, instead of `libgit2`.
394+
395+
This may lead to an increased number of timeout messages in the logs, however
396+
it will fix the bug in which Git operations make the controllers hang indefinitely.
397+
387398
#### Proxy support
388399

389400
When a proxy is configured in the source-controller Pod through the appropriate

0 commit comments

Comments
 (0)