317 Commits

Author SHA1 Message Date
Pudong Zheng
3c21eb64f8 add analytics for ssh 2022-05-19 12:06:33 +05:30
Pudong Zheng
14646e04f2 Enabled analytics for ws-proxy 2022-05-19 12:06:33 +05:30
Milan Pavlik
6b11a82af7 [content-service] Port to use baseserver 2022-05-17 23:52:32 +05:30
mustard
aa480e2d7f [code] update stable image 1.67.0 with active language tracking and ide alias fix 2022-05-17 14:26:31 +05:30
Lucas Valtl
2388b2b926 Edit kots advanced mode wording 2022-05-17 13:25:32 +05:30
Milan Pavlik
6913b4fb2b [ws-man-bridge] Add cluster role binding to scrape metrics 2022-05-16 14:18:31 +05:30
Christian Weichel
5dd9465378 [public-api] Adapt to new baseserver structure 2022-05-16 13:23:31 +05:30
Milan Pavlik
f09b44aa97 [public-api] Add role binding for kube-rbac-proxy to auth metric scrapes 2022-05-13 16:59:28 +05:30
Milan Pavlik
b09cda83e1 [public-api] Rename HTTP port to Debug 2022-05-13 14:32:28 +05:30
Manuel Alejandro de Brito Fontes
bbacba44aa Update go modules 2022-05-12 16:39:27 +05:30
Manuel Alejandro de Brito Fontes
8c50dafad3 Refactor upload to GCS 2022-05-12 16:39:27 +05:30
Christian Weichel
43fdcac591 [installer] Support reading config file from stdin
this makes rendering using the Docker image much easier because you can
just pipe the config to the installer.
2022-05-12 11:49:27 +05:30
Christian Weichel
010fb45630 [installer] Support rendering to individual files 2022-05-12 11:49:27 +05:30
Christian Weichel
7b86b04a7a [db-test] Take DB init scripts from installer 2022-05-11 21:10:26 +05:30
Andrew Farries
ba261d79b7 Add test for server deployment tracing config
Check that the server deployment uses tracing values defined in
`expermental.webapp.tracing`.
2022-05-11 13:25:26 +05:30
Andrew Farries
43d98b386d Make server use WebappTracingEnv
Rather than `WorkspaceTracingEnv`.
2022-05-11 13:25:26 +05:30
Andrew Farries
1119e5578b Add WebappTracingEnv function
Define it and WorkspaceTracingEnv in terms of a new `tracingEnv`
function. `WorkspaceTracingEnv` and `WebappTracingEnv` pass the
`*tracing` argument from the Workspace config and the WebApp
config respectively.
2022-05-11 13:25:26 +05:30
Andrew Farries
7363937d54 Rename TracingEnv to WorkspaceTracingEnv 2022-05-11 13:25:26 +05:30
Andrew Farries
8fbce952b0 Add tracing to webapp experimental config 2022-05-11 13:25:26 +05:30
Milan Pavlik
eff6f0a2d1 [public-api] Add network policy to allow connections from proxy 2022-05-11 12:53:26 +05:30
Pudong Zheng
801ac5f52e Add metrics push gateway for supervisor 2022-05-10 19:06:25 +05:30
Christian Weichel
acd2eaf810 [ws-manager] Rename default workspace class
from "" to "default"
2022-05-10 16:43:25 +05:30
Andrew Farries
539414d0e4 Ensure that blocked repo string is a valid regexp 2022-05-10 14:07:25 +05:30
Andrew Farries
1ae1ce97bf Add test for blocked repository config 2022-05-10 14:07:25 +05:30
Andrew Farries
fbf4932c9c Add blockedRepositories config to the installer
* Add new config under the `experimental.webapp.server` section.
* Add the new field to the configmap struct.
2022-05-10 14:07:25 +05:30
Andrew Farries
57ce815dd8 Add a test for ws garbage collection
Add it to the existing configmap test.
2022-05-10 12:38:25 +05:30
Andrew Farries
4f70422024 Make workspace garbage collection configurable 2022-05-10 12:38:25 +05:30
Andrew Farries
deba0f9745 Add tests for setting static message bus password 2022-05-06 20:23:22 +05:30
Andrew Farries
1f4d95a2e8 Add config to set a static message bus password
Add `experimental.common.staticMessagebusPassword` to set a static
password for the rabbit mq bus, rather than regenerating a new one on
every render.
2022-05-06 20:23:22 +05:30
Pavel Tumik @ GitPod
02a95899ec [installer] add snapshot class into PVC config for ws-manager 2022-05-06 16:01:21 +05:30
Gero Posmyk-Leinemann
d90e6ab4a7 [installer] Fix server GitHub app cert mount 2022-05-06 13:17: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
Andrew Farries
773deca0d5 Add server render test
Ensure that the server pod defines a volume when a github app is
specified and that the server container mounts it.
2022-05-05 20:28:21 +05:30
Andrew Farries
252d715c5e Add server vol and mount for github app secret 2022-05-05 20:28:21 +05:30
Andrew Farries
580772ade3 Off topic: Make variable local to block 2022-05-05 20:28:21 +05:30
Andrew Farries
411de1e332 Add tests for object rendering
Test that the objects are/are not rendered when the `disableMigration` config
flag is set.
2022-05-05 19:40:21 +05:30
Andrew Farries
32a430364a Add disableMigration to webapp config
Use it to skip rendering:
* the `migration' job.
* the `dbinit-session` job.
* the `dbinit-scripts` configmaps.
2022-05-05 19:40:21 +05:30
Andrew Farries
82a229a98d Add tests for proxy services
Ensure that annotations added through the experimental config are
present on the rendered services.
2022-05-05 17:13:20 +05:30
Andrew Farries
92329a8803 Add experimental config sections
To allow the proxies to have extra annotations on their service.
2022-05-05 17:13:20 +05:30
Andrew Farries
99eca3198b Refactor: Move proxy services into their own files 2022-05-05 17:13:20 +05:30
Gero Posmyk-Leinemann
e955e75f59 [installer] Minor alignments + fixes 2022-05-05 13:16:20 +05:30
Andrew Farries
02c2d26d05 Add tests for WsManagerList function
Ensure that no workspace clusters are returned when either skipSelf is
set or the installation is not a full one.
2022-05-05 13:15:20 +05:30
Andrew Farries
941105ee08 Add WorkspaceManagerBridge config to server 2022-05-05 13:15:20 +05:30
Andrew Farries
9a9736d551 Add test for service annotations
Ensure that any annotations specified in the experimental config are
present on the rendered Service.
2022-05-05 13:12:21 +05:30
Andrew Farries
0b599a83ac Add ServiceAnnotations config to proxy
Allow the annotations on the service to be added to by specifying them
in the experimental config.
2022-05-05 13:12:21 +05:30
Filip Troníček
b4b332d07e [code] Update stable to 1.67 2022-05-05 01:21:20 +05:30
Andrew Farries
1d2bae11ab Add test for proxy ip configuration 2022-05-04 20:46:20 +05:30
Andrew Farries
2308e174da Add experimental proxy config for static IP
Configure the proxy component with a static IP if the config field is
set.
2022-05-04 20:46:20 +05:30
Andrew Farries
4b94c91168 Refactor: Move proxy service gen into its own file 2022-05-04 20:46:20 +05:30
Milan Pavlik
9e84038beb [public-api] Set config in installer 2022-05-04 20:05:20 +05:30