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

Add template for client tools auto-update download url #51210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vapopov
Copy link
Contributor

@vapopov vapopov commented Jan 17, 2025

In this PR introduced templating feature for client tools download url as well as ability to customize it by environment variable

Default template:

https://cdn.teleport.dev/
{{- if eq .OS "darwin" }}
{{- .Package }}{{ if and .Enterprise (eq .Package "teleport") }}-ent{{ end }}-{{ .Version }}.pkg
{{- else if eq .OS "windows" }}
{{- .Package }}-v{{ .Version }}-windows-amd64-bin.zip
{{- else }}
{{- .Package }}{{ if .Enterprise }}-ent{{ end }}-v{{ .Version }}-{{ .OS }}-{{ .Arch }}{{ if .FIPS }}-fips{{ end }}-bin.tar.gz
{{- end }}`

Might be overridden by TELEPORT_URL_TEMPLATE environment value

Changelog: Added ability to define download URI for client tools managed updates for custom CDNs

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.

1 participant