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

[v14] Enable automatic upgrade server by default #39096

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

hugoShaka
Copy link
Contributor

Backport #38937 to branch/v14

changelog: Teleport Proxy Service now runs a version server by default serving its own version. This simplifies setting agent automatic updates up for self-hosted users.

* Enable automatic upgrade server by default

This commit means the proxy now serves automatic upgrade channels by
default. The default channel is "default" and its version is the
teleport proxy binary version.

This commit also fixes a bug with the automatic update version server
returning `teleport.Version` instead of `"v"+teleport.Version` when the
version was too high. This was not a critical issue because agents are
supposed to tolerate versions not prefixed with 'v'.

* lint

* thread safety

* Update lib/automaticupgrades/channel.go

* Update lib/config/configuration.go

Co-authored-by: Noah Stride <noah.stride@goteleport.com>

* fix tests and lint

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
@hugoShaka hugoShaka added this pull request to the merge queue Mar 8, 2024
Merged via the queue into branch/v14 with commit 76f4a07 Mar 8, 2024
26 checks passed
@hugoShaka hugoShaka deleted the hugo/backport-38937-to-branch/v14 branch March 8, 2024 14:47
@fheinecke fheinecke mentioned this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants