teleport/lib/web
Marco André Dinis 3102b82770
Use stable/cloud when Automatic Upgrades is on. (#23395)
* Use `cloud/stable` when Automatic Upgrades is on.

Teleport provides scripts to install teleport agents/services.
Those scripts use YUM/DEB repositories when possible.
Each repo has multiple channels:
- stable/v11
- stable/v12
- cloud/stable

We want to ensure that if the cluster is running in the cloud and
automatic upgrades is on (auth service was started with
TELEPORT_AUTOMATIC_UPGRADES=yes teleport ...), then the installation
script must offer the `cloud/stable` channel.

This PR changes the following scripts:
- Discover Install Node
- Discover Install Database Service
- Install App script
- EC2 default-installer and EC2 default-agentless-installer

* add helm chart knobs to enable auto updater

* use let instead of const and remove default export

* add HA to helm chart

* always return .automatic_upgrades in web ping response

* rename cloud/stable to stable/cloud

* fix ts test
2023-03-28 16:05:09 +00:00
..
app Support App access behind load balancer (#22565) 2023-03-14 13:47:41 +00:00
desktop Address some outstanding TODOs (#18863) 2022-11-29 17:17:05 +00:00
mfajson Remove U2F support (#10476) 2022-02-24 19:54:28 +00:00
scripts Use stable/cloud when Automatic Upgrades is on. (#23395) 2023-03-28 16:05:09 +00:00
ui user acl for device trust ui (#23493) 2023-03-24 04:26:04 +00:00
apiserver.go Use stable/cloud when Automatic Upgrades is on. (#23395) 2023-03-28 16:05:09 +00:00
apiserver_login_test.go [reopen] Handle private key policy errors for the web UI (#17928) 2022-10-31 23:18:54 +00:00
apiserver_ping_test.go Disable application launch in minimal handler (#22816) 2023-03-20 16:27:26 +00:00
apiserver_test.go Use stable/cloud when Automatic Upgrades is on. (#23395) 2023-03-28 16:05:09 +00:00
apiserver_test_utils.go Remove support for DEBUG_ASSETS_PATH (#21346) 2023-02-08 17:27:22 +00:00
apps.go [web] Move filtering out cloud and tcp apps to the frontend (#22257) 2023-02-27 17:04:51 +00:00
assets.go Remove support for DEBUG_ASSETS_PATH (#21346) 2023-02-08 17:27:22 +00:00
cachehandler.go Add caching to web assets (#22137) 2023-02-23 12:20:58 +00:00
conn_upgrade.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
conn_upgrade_test.go Update golangci-lint to 1.49.0 (#16507) 2022-09-19 22:38:59 +00:00
connection_diagnostic.go Connection Diagnostics: Postgres Database tester (#18558) 2022-12-13 18:55:40 +01:00
cookie.go Set cookies with '__Host-' prefix 2021-03-01 22:14:10 +01:00
databases.go [Web:Discover] Bring back db service checker (#21062) 2023-02-06 18:44:39 +00:00
databases_test.go [Web:Discover] Bring back db service checker (#21062) 2023-02-06 18:44:39 +00:00
desktop.go Track active ssh sessions established via the web (#20231) 2023-01-27 14:38:39 +00:00
desktop_playback.go Prevent race from causing remote clients from being closed (#19010) 2022-12-05 20:10:01 +00:00
envelope.pb.go Use Buf to build/lint/format lib/ protos (#15870) 2022-08-29 17:44:18 +00:00
files.go Allow webauthn to be passed when issuing certs for web-based scp (#22864) 2023-03-16 02:03:37 +00:00
fuzz_test.go Handle empty slice in tdpMFACodec.decode() (#19270) 2022-12-12 22:20:22 +00:00
gziphandler.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
headless.go Headless SSO web endpoint and UI (#22914) 2023-03-22 15:16:09 +00:00
join_tokens.go Use stable/cloud when Automatic Upgrades is on. (#23395) 2023-03-28 16:05:09 +00:00
join_tokens_test.go Use stable/cloud when Automatic Upgrades is on. (#23395) 2023-03-28 16:05:09 +00:00
mfa.go Add per-session mfa support to connection testers (#22528) 2023-03-09 20:27:30 +00:00
mfa_codec.go Handle empty slice in tdpMFACodec.decode() (#19270) 2022-12-12 22:20:22 +00:00
password.go Migrate ChangePassword RPC from HTTP to gRPC (#18682) 2022-11-26 12:47:43 +00:00
resources.go Removes deprecated KindKubeService objects (#22663) 2023-03-13 10:55:39 +00:00
resources_test.go Allow users to specify separate API URL for github connectors (#23200) 2023-03-23 20:10:05 +00:00
server.go Track active ssh sessions established via the web (#20231) 2023-01-27 14:38:39 +00:00
servers.go Fix incorrect login options for Windows Desktops (#22118) 2023-02-24 21:06:38 +00:00
sessions.go Prevent races creating web api session context (#23691) 2023-03-28 15:32:08 +00:00
sessions_test.go Prevent race from causing remote clients from being closed (#19010) 2022-12-05 20:10:01 +00:00
sign.go Update golangci-lint to 1.49.0 (#16507) 2022-09-19 22:38:59 +00:00
terminal.go Decouple SkipLocalAuth, UseKeyPrincipal, and static auth methods. (#21182) 2023-03-14 23:22:08 +00:00
terminal_test.go Add test for terminal websocket connection closure (#21348) 2023-02-08 17:04:26 +00:00
userevent.go lib/usagereporter refactor and consolidation (#22460) 2023-03-01 18:40:53 +00:00
users.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
users_test.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
web.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
ws_io.go Implement Moderated Sessions (#8563) 2022-02-15 17:02:10 +01:00