183 Commits

Author SHA1 Message Date
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
Pudong Zheng
2f5e402524 [ws-proxy] Add test case for blobserve and workspace port 2022-07-05 14:17:52 +05:30
Manuel Alejandro de Brito Fontes
3353f398f7 [ws-proxy] Refactor SSH heartbeat GRPC connection 2022-07-05 07:34:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Victor Nogueira
a5e828ffa2 Add X-Forwarded-Port header
It's required by some software, like [FusionAuth](https://fusionauth.io/).
2022-07-04 17:20:51 +05:30
Pudong Zheng
cf6a34ae6b [ws-proxy] not use target host when serve workspace port route 2022-07-01 15:34:39 +05:30
Pudong Zheng
1361d22be5 [ssh-gateway] add track for send closed heartbeat 2022-06-28 19:09:38 +05:30
Pudong Zheng
3522b7b3cd [ssh-gateway] only send heartbeat when it explicitly request pty 2022-06-28 19:09:38 +05:30
Manuel Alejandro de Brito Fontes
6f0bbbf5a2 Update go modules 2022-06-20 20:43:31 +05:30
Pudong Zheng
9dc436aa92 [SSH Gateway] remove priavte key requirement when ownerToken is provide 2022-06-17 12:13:26 +05:30
Pudong Zheng
fe6e39e3a3 [workspace] support user upload ssh keys
Co-authored-by: Huiwen <huiwen@gitpod.io>
Co-authored-by: Christian Weichel <chris@gitpod.io>
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2022-06-15 22:58:25 +05:30
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Pudong Zheng
c8794637a3 [ws-proxy] use ide-proxy to serve blobserv 2022-06-10 02:47:19 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
Manuel Alejandro de Brito Fontes
6efe212447 Update sigs.k8s.io/e2e-framework to v0.0.7 2022-06-07 15:29:17 +05:30
Pudong Zheng
b675fb702c [ws-proxy] Distinguish between WS_NOTFOUND and WS_ID_INVALID 2022-06-02 02:34:50 +05:30
Pudong Zheng
09d34a55b2 [ws-proxy] SSH gateway support full channel type 2022-05-28 23:46:46 +05:30
Pudong Zheng
701806408b [ws-proxy] fix miss parameter when SSH connection is successful 2022-05-24 21:14:38 +05:30
Pudong Zheng
1787d38165 [ws-proxy] add some ssh metrics
1

2

[debug]

1
2022-05-23 21:50:37 +05:30
Pudong Zheng
3c21eb64f8 add analytics for ssh 2022-05-19 12:06:33 +05:30
Pudong Zheng
c2b3752c39 Add OwnerUserId in workspaceInfo
patch
2022-05-19 12:06:33 +05:30
Pudong Zheng
afe005dbbb Add global analytics writer 2022-05-19 12:06:33 +05:30
Jean Pierre
aa2c51c804 Serve webview resources from blobserve 2022-05-19 08:12:33 +05:30
Christian Weichel
314833cdc2 [common-go] Add keyed gRPC rate limits 2022-04-29 16:01:15 +05:30
Thomas Schubart
3914677ae3 Speed up edit-compile-run loop 2022-04-27 03:44:12 +05:30
Manuel Alejandro de Brito Fontes
1b88c8058e Update go modules 2022-04-25 15:52:37 +05:30
Pavel Tumik
ede6cace47 [ws-proxy] fix ACME challenge handler 2022-04-19 05:58:31 +05:30
Manuel Alejandro de Brito Fontes
9fb5c369fd Update go modules 2022-04-11 14:02:24 +05:30
Manuel Alejandro de Brito Fontes
a6fe4640a2 Update go modules 2022-04-07 18:40:20 +05:30
Manuel Alejandro de Brito Fontes
0ac53c0794 [ws-proxy] Deny ACME challenges 2022-04-07 18:40:20 +05:30
Manuel Alejandro de Brito Fontes
c8e1815e55 [ws-proxy] Configure readiness probe 2022-03-29 22:20:13 +05:30
Jean Pierre
8dd2ddd844 Add new foreign route 2022-03-15 13:12:21 +05:30
Manuel Alejandro de Brito Fontes
89105f8628 Update signatures due to k8s v1.23 changes 2022-03-03 18:46:10 +05:30
Manuel Alejandro de Brito Fontes
a563242ef3 Update go dependencies 2022-03-03 18:46:10 +05:30
Pudong Zheng
8fa98f9e68 add ssh_host_key router 2022-02-21 16:43:01 +05:30
Gero Posmyk-Leinemann
c0bbf911db [dashboard, ws-proxy, supervisor] Break potential DDOS cycle by disabling autostart
When triggered:
     a) inFrame or
     b) when redirect from IDE url (by ws-proxy)
2022-02-14 11:06:35 +01:00
Kryštof
ededf2c7b2 add margin 0 2022-02-10 07:02:31 +01:00
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +01:00
Pudong Zheng
f566dc04d2 Change the quick login split field from : to # 2022-01-25 00:00:16 +01:00
Pudong Zheng
f7f4dbde8e If pty channel closed then send closed flag and fix timer leak 2022-01-25 00:00:16 +01:00
Pudong Zheng
16f8fe6f94 refactory and improve SSH gateway compatibility with some automatic client 2022-01-25 00:00:16 +01:00
Christian Weichel
8091962e85 [sshproxy] Add heartbeating 2022-01-25 00:00:16 +01:00
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Sven Efftinge
f8086b9a25 [server] use owner and repo name for workspace id
This change introduces optional arguments in generateWorkspaceId
for the first two segments. And makes use of it in workspace factory
using the repos org/group and name.

fixes https://github.com/gitpod-io/gitpod/issues/4129
2022-01-07 10:33:00 +01:00
Pudong Zheng
b0a97a4aef new dns terraform 2022-01-06 17:29:00 +01:00
Pudong Zheng
d9955ccc74 Add SSH Gateway to ws-proxy 2022-01-06 17:29:00 +01:00
ArthurSens
37c2d1ea77 component/common-go/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Manuel Alejandro de Brito Fontes
1c0c677313 Update alpine to 3.15 2021-12-01 10:10:27 +01:00
Manuel Alejandro de Brito Fontes
915cd416d2 Update go modules 2021-11-25 15:55:21 +01:00
Manuel Alejandro de Brito Fontes
ff2f54edbb [wa-proxy] Improve TLS default configuration 2021-11-25 15:55:21 +01:00