Skip to content

Commit c47c7e1

Browse files
author
Christian Weichel
committed
[theia-server] Remove in favour of blobserve
With registry-facade becoming the default, we can also make blobserve standard.
1 parent 61b1b9b commit c47c7e1

File tree

16 files changed

+43
-864
lines changed

16 files changed

+43
-864
lines changed

chart/config/proxy/vhost.upstreams.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ upstream dashboard {
1818
keepalive 100;
1919
}
2020

21-
upstream theiaserver {
22-
server theia-server.${KUBE_NAMESPACE}.svc.cluster.local:80;
23-
24-
# Keep up to 100 connections to upstream alive and re-use them for faster responses
25-
keepalive 100;
26-
}
27-
2821
# TODO WSPROXY: remove conditional
2922
{{- $wsProxy := .Values.components.wsProxy -}}
3023
{{- if (and $wsProxy (not $wsProxy.disabled)) }}

chart/templates/theia-server-deployment.yaml

Lines changed: 0 additions & 64 deletions
This file was deleted.

chart/templates/theia-server-service.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

chart/templates/ws-proxy-configmap.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,10 @@ data:
6262
"websocketIdleConnTimeout": "180s",
6363
"maxIdleConns": 100
6464
},
65-
{{- if .Values.components.blobserve.disabled }}
66-
"theiaServer": {
67-
"scheme": "http",
68-
"host": "theia-server.{{- .Release.Namespace -}}.svc.cluster.local:80",
69-
"staticVersionPathPrefix": ""
70-
},
71-
{{- else }}
7265
"blobServer": {
7366
"scheme": "http",
7467
"host": "blobserve.{{- .Release.Namespace -}}.svc.cluster.local:{{ .Values.components.blobserve.ports.service.servicePort }}"
7568
},
76-
{{- end }}
7769
"gitpodInstallation": {
7870
"scheme": "{{- template "gitpod.scheme" $this -}}",
7971
"hostName": "{{- $gp.hostname -}}",

chart/values.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -365,19 +365,6 @@ components:
365365
enabled: false
366366
email: "certificate@your-domain.com"
367367

368-
theiaServer:
369-
name: "theia-server"
370-
replicas: 1
371-
resources:
372-
cpu: 100m
373-
memory: 16Mi
374-
ports:
375-
http:
376-
expose: true
377-
servicePort: 80
378-
containerPort: 3000
379-
serviceType: "ClusterIP"
380-
381368
wsManager:
382369
name: "ws-manager"
383370
resources:

components/BUILD.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ packages:
2222
- components/supervisor-api/typescript-grpc:publish
2323
- components/supervisor:docker
2424
- components/theia/app:docker
25-
- components/theia/static-server:docker
2625
- components/ws-daemon/seccomp-profile-installer:docker
2726
- components/ws-daemon/shiftfs-module-loader:docker
2827
- components/ws-daemon:docker
@@ -48,7 +47,6 @@ packages:
4847
- components/service-waiter:app
4948
- components/supervisor:app
5049
- components/supervisor/frontend:app
51-
- components/theia/static-server:app
5250
- components/ws-daemon:app
5351
- components/ws-manager-bridge:app
5452
- components/ws-manager:app

components/theia/static-server/BUILD.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

components/theia/static-server/go.mod

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)