72 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
44ef47089b Remove unused labels 2022-03-04 13:42:11 +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
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Manuel Alejandro de Brito Fontes
0681a4a35e [ws-manager] Improve workspaces PodAffinity 2022-01-18 09:29:11 +01:00
Manuel Alejandro de Brito Fontes
7207f335bd [ws-manager] Adjust probe InitialDelaySeconds 2022-01-12 19:59:05 +01:00
Pudong Zheng
94c71c03ca Set hostname to workspace ID rather than instance ID 2021-12-29 15:40:52 +01:00
Pudong Zheng
8ff614266b fix workspace leak 2021-11-26 17:21:22 +01:00
Christian Weichel
fd99ba1f39 Make ca-updater part of the monorepo 2021-11-25 11:52:21 +01:00
Manuel Alejandro de Brito Fontes
e3c44e4dec Mount internal CA certificate for builds 2021-11-25 11:52:21 +01:00
Christian Weichel
9299445090 [ws-manager] Support env vars from secrets 2021-11-12 10:58:09 +01:00
Cornelius A. Ludmann
6509092ad4 [ws-manager] Add supervisor ref to IDEImage 2021-11-11 08:34:08 +01:00
Manuel Alejandro de Brito Fontes
037eb40107 Refactor ws-manager to stop using services 2021-11-05 10:33:03 +01:00
Simon Emms
d61569bb7d [ws-manager]: handle if IdeImage not included on the request spec 2021-10-29 13:00:06 +02:00
Simon Emms
61c8f5487b [ws-manager]: change affinities to match the installer values 2021-10-28 06:37:05 +02:00
Cornelius A. Ludmann
e7c93eb382 [ws-manager] Add destkop_ide_image 2021-10-26 15:02:04 +02:00
Christian Weichel
df120dc4ef [installer] Add support for workspace templates 2021-10-08 04:45:54 -03:00
Manuel Alejandro de Brito Fontes
b0b8a76112 [ws-manager] Do not nest /workspace as relative path 2021-10-04 11:59:51 -03:00
Christian Weichel
e5551dcd1b [ws-manager] Make config part of the API 2021-09-13 10:51:38 +05:30
Manuel Alejandro de Brito Fontes
c7c7174792 [ws-manager] Increase readiness probe initial delay 2021-09-02 08:50:31 +02:00
Anton Kosyakov
e52153eb1d [supervisor] expose IDE alias on workspace info endpoint 2021-08-30 05:47:28 -03:00
Manuel Alejandro de Brito Fontes
4cfa7e2558 [ws-manager] Adjust probe InitialDelaySeconds value 2021-08-13 14:48:12 +02:00
Christian Weichel
07f97d3f27 [ws-manager] Add support for workspace annotations 2021-07-22 16:32:26 +02:00
Christian Weichel
ef090bb5bf [ws-manager] Pull images if not present 2021-07-16 14:17:21 +02:00
Anton Kosyakov
ed076d77a8 [code] fix #4529: serve each webview from own origin
decoupled from workpace origin (also extension host origin)
2021-07-16 14:08:25 +05:00
Manuel Alejandro de Brito Fontes
f3deee638d [ws-manager] Add annotation to avoid removal of nodes with running workspaces 2021-07-14 12:18:33 -04:00
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Manuel Alejandro de Brito Fontes
b6eaadbf18 [ws-manager] Revert #4338 and fix /dev/net/tun permissions 2021-06-23 17:57:46 -04:00
Christian Weichel
93c0c0afde [supervisor] Remove theiaSupervisorToken 2021-06-23 22:35:54 +02:00
Christian Weichel
2dbb3915de Revert "[ws-manager] mknod /dev/net/tun"
This reverts commit 44a47ef48e5edd0d4b239138fb6ff9fb949c67bd.
2021-05-28 17:49:44 +02:00
Christian Weichel
44a47ef48e [ws-manager] mknod /dev/net/tun 2021-05-07 17:50:44 +02:00
Christian Weichel
7f5fe36356 [ws-manager] Add metric counting totakl open ports 2021-04-23 09:39:58 -03:00
Christian Weichel
454bdde2f9 [ws-manager] Reduce owner token char set
to make using the token easier in cookies and HTTP header
2021-04-22 14:20:12 +02:00
Christian Weichel
0ef3733e78 [ws-proxy] Support x-gitpod-owner-token for authentication 2021-04-22 14:20:12 +02:00
Christian Weichel
f99ce345b5 [ws-mananger] Properly start ghost WS processes 2021-04-01 19:34:11 +02:00
Anton Kosyakov
4ebbcc1d62 fix #3162: decouple gp env from theia 2021-03-29 16:10:34 +02:00
Manuel Alejandro de Brito Fontes
326b3227be Enable user_namespace feature 2021-03-22 08:22:01 -03:00
Manuel Alejandro de Brito Fontes
53189d3fa6 [ws-manager] Lint code and cleanup protobuf 2021-03-16 07:35:57 -03:00
Anton Kosyakov
91cc264260 [code] github auth provider 2021-03-12 10:41:43 +01:00
Gero Posmyk-Leinemann
8d1249a797 [cleanup] Removed ingressPortAllocator 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
Manuel Alejandro de Brito Fontes
08774bd177 [ws-manager] Switch to controller-runtime abstraction 2021-03-01 14:00:58 -03:00
Anton Kosyakov
1a5059683d [server] fix #3045: support external extensions 2021-02-23 13:50:24 +01:00
Christian Weichel
61b1b9b38e [node-daemon] Remove because we don't copy Theia
to the node anymore. Instead, registry-facade serves the IDE.
The remaining sysctls were moved as init container to ws-daemon.
2021-02-18 09:25:56 +01:00
Christian Weichel
1046faf0f9 [registry-facade] Remove feature flag
and enable registry-facade by default.
2021-02-18 09:25:56 +01:00
Christian Weichel
5b6325f0de Remove privileged feature flag and permission
now that we have user-namespaced workspaces the privileged flag
has become even more of a nuisance and technical debt.

Fixes gitpod-io/gitpod#3058
2021-02-12 09:19:48 +01:00
Christian Weichel
e641afad2b [workspacekit] Move all user namespace setup stuff to its own component
To keep supervisor free from CGO e.g. libcap or libseccomp
2021-01-29 17:46:53 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Anton Kosyakov
f53f2fbb35 [proxy] mini browser host pattern 2020-12-09 14:50:45 +01:00
Christian Weichel
423f67fb03 [ws-manager] Correctly compute NodeAffinity with registry_facade
/werft no-preview
2020-12-09 08:18:53 +01:00