51 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
28be549be0 Change services node label 2023-01-18 18:45:26 +01:00
JenTing Hsiao
af04243b3b If dryRun, return gRPC FailedPrecondition
If dryRun enables on StartWorkspace/StopWorkspace/TakeSnapshot,
return gRPC FailedPrecondition status code and error message
`under maintenance mode`.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-03 23:48:43 +01:00
JenTing Hsiao
2698a7a657 Apply suggestions from code review 2022-12-20 02:45:29 -03:00
Wouter Verlaek
72d9152a71 [image-builder] Enable TLS in workspace clusters
Fix cyclic import cycle

Update altnames

Update golden testdata, todo

Update grpc opts

Testing

Remove blocking dial

Only add TLS in ws cluster

Conditional TLS

Add comments
2022-12-20 02:45:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Tarun Pothulapati
c2eb0c15d1 [installer] manually set allowPrivilegeEscalation to false
This PR manually sets the `allowPrivilegeEscalation` container
config to false where we don't need extra capabilities. This
is needed as not setting this explicitely could mean that
it could still be `true` based on other settings.

This also helps us future proof on any behaviour changes around
this.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-12-05 06:28:15 -03:00
JenTing Hsiao
140022e851 installer: add prebuild PVC configuration to installer
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-09 14:58:39 +01:00
mustard
8b7242cf1c [installer] make installer full support installation shorname 2022-10-23 15:51:38 +02:00
Manuel Alejandro de Brito Fontes
def55ee7ba Add option to add authentication to Jaeger and custom tags 2022-10-11 13:51:26 +02:00
Manuel Alejandro de Brito Fontes
64b4d6fcf9 Fix typecheck errors 2022-08-23 08:18:39 +02:00
Thomas Schubart
b8cad172eb [installer] Ensure compat with previous config version 2022-08-22 16:02:38 +02:00
Manuel Alejandro de Brito Fontes
df221fe7d0 Replace deprecated seccomp.security.alpha.kubernetes.io/pod annotation 2022-08-13 03:01:29 +02:00
Simon Emms
2fd3dd3586 [installer]: remove the custom labels from the selector labels 2022-08-09 04:16:53 -03:00
Thomas Schubart
0571d40d16 [installer] Configure resource limits 2022-08-05 11:42:49 -03:00
Manuel Alejandro de Brito Fontes
14095f470b Refactor configuration of localhost address, metric and debug ports 2022-07-23 11:19:18 -03:00
Simon Emms
3aa56e64b4 [installer]: set secretTemplate for certs
This allows them to be picked up by the KOTS support bundle
2022-07-21 11:15:16 -03:00
JenTing Hsiao
21642a955d Add missing permission to watch node object
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-15 15:34:02 +02:00
JenTing Hsiao
95ec04a005 [installer] add node get/list permission to ws-manager
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-14 20:03:01 +02:00
Pavel Tumik
de4e346af8 [installer] improve ws-manager config 2022-07-13 07:15:59 +02:00
Christian Weichel
3518346650 [ws-manager] Ship env vars as secret 2022-07-06 19:22:53 +05:30
Pavel Tumik
fdd7098ae4 [installer] fix workspace template generation 2022-07-06 12:43:53 +05:30
Thomas Schubart
d537b24994 [installer] Add display name to workspace class 2022-06-30 21:26:38 +05:30
Simon Emms
3ffe8fdd94 [installer]: add customization function to ws-manager deployment 2022-06-24 21:09:33 +05:30
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Pavel Tumik
7a7792f531 volume snapshot delete and restore support, garbage collection 2022-06-15 02:37:25 +05:30
Manuel Alejandro de Brito Fontes
624021f2f2 Simplify configuration of KubeRBACProxyContainerWithConfig and remove collision 2022-06-03 18:07:52 +05:30
Christian Weichel
67ce7d01a7 [ws-daemon] Use baseserver to run services 2022-05-30 20:23:49 +05:30
Mads Hartmann
7b68fb4a27 Use slices instead of maps for service ports to control ordering 2022-05-30 20:14:48 +05:30
Gero Posmyk-Leinemann
1fb4a71cb9 [installer] Treat InstallationShortname "" and "default" as equivalent 2022-05-27 20:07:45 +05:30
Andrew Farries
50692e5716 Add test for workspace URL templates 2022-05-27 20:07:45 +05:30
Andrew Farries
56c249128f Append installation shortname to url templates
This matches how these URLs were constructed in the old helm chart:

2f988c9349/chart/templates/ws-manager-configmap.yaml (L74-L75)
2022-05-27 20:07:45 +05:30
Pavel Tumik
2c962e6421 Revert "Append installation shortname to url templates"
This reverts commit 82f6f1ff12dfac71b98e1a7905c4f3ca67782ca4.
2022-05-20 03:53:34 +05:30
Pavel Tumik
d10002dc99 Revert "Add test for workspace URL templates"
This reverts commit 73502c07df5b6385bf0e9faa8c7fe57b0c2e94d8.
2022-05-20 03:53:34 +05:30
Andrew Farries
73502c07df Add test for workspace URL templates 2022-05-20 01:37:34 +05:30
Andrew Farries
82f6f1ff12 Append installation shortname to url templates
This matches how these URLs were constructed in the old helm chart:

2f988c9349/chart/templates/ws-manager-configmap.yaml (L74-L75)
2022-05-20 01:37:34 +05:30
Andrew Farries
7363937d54 Rename TracingEnv to WorkspaceTracingEnv 2022-05-11 13:25:26 +05:30
Christian Weichel
acd2eaf810 [ws-manager] Rename default workspace class
from "" to "default"
2022-05-10 16:43:25 +05:30
Pavel Tumik @ GitPod
02a95899ec [installer] add snapshot class into PVC config for ws-manager 2022-05-06 16:01:21 +05:30
Pavel Tumik @ GitPod
6205d22c40 [ws-manager] add cluster role needed for volume snapshots content access 2022-05-06 03:25:21 +05:30
Pavel Tumik
ba045a21cd update PVC support for Workspace Classes 2022-05-04 03:08:19 +05:30
Pavel Tumik
301190db53 Add persistent volume support for workspaces
fix
2022-05-04 03:08:19 +05:30
Christian Weichel
4640721e75 [installer] Add support for workspace classes 2022-04-29 14:24:15 +05:30
Andrew Farries
674db36fbb Make resources configurable for all components
Use the common.ResourceRequirements function from the parent commits,
passing in the existing defaults.
2022-04-28 20:04:14 +05:30
Andrew Farries
0ae3201a7e Set Replicas for multiple components
So that they respect the new
`experimental.common.podConfig.<component>.replicas` setting.
2022-04-26 13:14:38 +05:30
Simon Emms
948ae5192b [installer]: add DropImageRepo functionality to RepoName
This moves the ImageName and RepoName functions to the RenderContext
struct.
2022-04-21 18:26:33 +05:30
Andrew Farries
3fdd2d9754 Rename common.Affinity to NodeAffinity 2022-04-20 02:48:32 +05:30
Christian Weichel
4b48505356 [ws-manager] Proxy to image-builder 2022-04-19 21:47:32 +05:30
Christian Weichel
fb6a606823 [installer] Connect custom CA certs with wsman 2022-04-12 15:04:25 +05:30
Cornelius A. Ludmann
5166afd3d9 [installer] Allow to set default workspace timeout 2022-04-06 14:35:19 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30