33 Commits

Author SHA1 Message Date
Pudong
9e0f6e13d7
[ws-proxy] close connection if workspace or port stopped share (#20248)
* remove useless InfoProvider

* close connection if visibility change

* nit: fix typo

* fn name typo fix

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-09-27 10:20:12 -04:00
Manuel Alejandro de Brito Fontes
5992b0f614
Update go dependencies (#19577)
* Update go dependencies

* Update S3

* Caddy plugins cannot use 1.22

* Update controller runtime signatures

* Update webhook suite test

* Update IPFS signatures

* Update go modules

* Update ipfs-cluster to v1.0.8

* Fix node-labeler build

* Fix IPFS CID parsing

* Update ipfs-cluster version

* Update controller-runtime signature

* Update statefulset signature

* Disable controller-runtime metrics

* Add comments
2024-03-26 20:55:35 +01:00
Pudong
10fe5b9699
[sshgateway] use ssh CA to auth (#19147)
* [sshgateway] use ssh CA to auth

* change name

* add error log

* fix

* mark volume optional

* [installer] validate ssh-ca secret

* Revert "[installer] validate ssh-ca secret"

This reverts commit ca6ede78a7b5a720fd315eca32eb277cb5063069.

We must support the scenario where the installer has the secret, but, it is not in the cluster yet.

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-11-30 19:17:08 +02:00
Pudong
34674c7fdb
Migrate the ssh tunnel from supervisor to ws-proxy (#19119)
* Migrate the ssh tunnel from supervisor to ws-proxy

* Add metrics for tunnel open and close
2023-11-24 14:21:02 +02:00
Manuel Alejandro de Brito Fontes
5791909dc4
[ws-proxy] Implement graceful shutdown (#18583)
* [ws-proxy] Implement graceful shutdown

* Align termination grace period with http shutdown timeout

* Address feedback

* Configure http server timeouts
2023-08-28 18:25:54 +02:00
Wouter Verlaek
5ec09a8218
[ws-proxy] Remove pod info provider (#17992)
* [ws-proxy] Remove pod info provider

* Remove unused methods
2023-06-20 23:07:10 +08:00
Kyle Brennan
049ebe1542
[ws-proxy] provide a hint to our future selves (#17009) 2023-03-23 23:29:16 +01:00
Thomas Schubart
2c259c4dc8
[ws-manager-mk2] Support public SSH keys (#16413) 2023-03-13 14:50:49 +01:00
Thomas Schubart
a184846a3d [ws-proxy] Configure workspace CRD info provider 2023-01-24 19:22:32 +01:00
Christian Weichel
9992d4fa32 [ws-proxy] Support workspace CRD 2023-01-23 14:14:30 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Manuel Alejandro de Brito Fontes
3353f398f7 [ws-proxy] Refactor SSH heartbeat GRPC connection 2022-07-05 07:34:52 +05:30
Pudong Zheng
9dc436aa92 [SSH Gateway] remove priavte key requirement when ownerToken is provide 2022-06-17 12:13:26 +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
Manuel Alejandro de Brito Fontes
c8e1815e55 [ws-proxy] Configure readiness probe 2022-03-29 22:20:13 +05:30
Manuel Alejandro de Brito Fontes
89105f8628 Update signatures due to k8s v1.23 changes 2022-03-03 18:46:10 +05:30
Pudong Zheng
8fa98f9e68 add ssh_host_key router 2022-02-21 16:43:01 +05:30
Christian Weichel
8091962e85 [sshproxy] Add heartbeating 2022-01-25 00:00:16 +01:00
Pudong Zheng
d9955ccc74 Add SSH Gateway to ws-proxy 2022-01-06 17:29:00 +01:00
Manuel Alejandro de Brito Fontes
526c95e344 Decouple ws-proxy from ws-manager 2021-11-05 10:33:03 +01:00
Simon Emms
523c28fdc1 [ws-proxy]: extract the config from the cmd package
This allows the Config to be exposed for the installer
2021-10-04 11:58:51 -03:00
Manuel Alejandro de Brito Fontes
f25de2cdbf Log error changing default level 2021-09-22 10:15:47 -03:00
Christian Weichel
d60599cd95 [common-go] Support client side gRPC metrics 2021-09-17 08:34:42 -03:00
Manuel Alejandro de Brito Fontes
e6d1cea54d Enable GRPC logging 2021-09-13 21:09:39 +05:30
Manuel Alejandro de Brito Fontes
23f41cb35e [ws-proxy] Remove proxy of ws-manager. 2021-09-13 18:27:38 +05:30
Cornelius A. Ludmann
cf6a5dc723 [ws-proxy] Allow workspace router to match URLs from other clusters 2021-06-28 14:19:47 +02:00
Alex Tugarev
70097b6d82 [ws-proxy] make https default and redirect http 2021-05-04 11:40:11 +02:00
Gero Posmyk-Leinemann
76475241bb [ws-: manager, registry-facade, scheduler, proxy] TLS support 2021-04-01 14:47:31 +02:00
Cornelius A. Ludmann
7ae8db1ae1 [ws-proxy] Add ws-manager TCP proxy 2021-04-01 14:47:31 +02:00
Gero Posmyk-Leinemann
07dce7f539 [cleanup] Remove references to: ingressMode 2021-03-12 08:50:06 +01:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00