Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: Enable managed transport by default #362

Closed
wants to merge 1 commit into from

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented May 12, 2022

GitManagedTransport is a new feature gate that enables the use of Managed Transport.
This replaces the previous EXPERIMENTAL_GIT_TRANSPORT environment variable that was
used for the same result.

This is now an opt-out feature, which can be disabled by starting the
controller with the argument '--feature-gates=GitManagedTransport=false'.


This is part of a series of changes that happened on source-controller that needs to be synced with IAC.

@pjbgf pjbgf added this to the GA milestone May 12, 2022
go.mod Outdated Show resolved Hide resolved
GitManagedTransport enables the use of Managed Transport. This replaces
the previous 'EXPERIMENTAL_GIT_TRANSPORT' environment variable that was
used for the same result. This commit also enables it by default.

This is an opt-out feature, which can be disabled by starting the
controller with the argument '--feature-gates=GitManagedTransport=false'.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
@pjbgf pjbgf changed the title git: Enable Managed Transport by default and add new Git feature gates git: Enable managed transport by default May 12, 2022
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still make use of the env var? I don't see it removed in this PR.

@pjbgf
Copy link
Member Author

pjbgf commented May 12, 2022

Do we still make use of the env var? I don't see it removed in this PR.

@stefanprodan With the new way of initialising this would be enough, however, the version of SC this uses still lingers on that environment variable to check the Managed Transport status. We will need to first get it merged and released on SC before we can do the same here.

I created the PR for SC and will keep this as draft until we are ready to update/merged it.

@pjbgf pjbgf marked this pull request as draft May 12, 2022 17:10
@pjbgf
Copy link
Member Author

pjbgf commented May 27, 2022

superseded by #369

@pjbgf pjbgf closed this May 27, 2022
@pjbgf pjbgf deleted the feature-gates branch September 8, 2022 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants