110 Commits

Author SHA1 Message Date
Thomas Schubart
01c9081718 [installer] Configure default workspace class 2022-07-21 05:10:16 -03:00
Gero Posmyk-Leinemann
c305aa4a41 [server] Remove blockedRepositories config 2022-07-20 09:05:15 -03:00
Gero Posmyk-Leinemann
d1c412edc2 [server] Hook up usage API 2022-07-13 12:09:00 +02:00
Thomas Schubart
88e5beb8d6 [bridge] Regularly check for class updates 2022-07-06 23:15:53 +05:30
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Milan Pavlik
58a9ebbe3f [experiments] Configure ConfigCat SDK through installer 2022-06-24 15:28:33 +05:30
Jan Keromnes
b93288865e [server] Make Stripe usage-based product price IDs configurable 2022-06-20 14:52:29 +05:30
Andrew Farries
e9e33d817c Remove stripeSettingsFile from server config 2022-06-13 21:32:23 +05:30
Andrew Farries
f3680fe1a9 Configure server to use stripe secret 2022-06-13 21:32:23 +05:30
Jan Keromnes
92e2e72e2c [server][dashboard] Add a Stripe settings secret 2022-05-31 13:40: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
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
7363937d54 Rename TracingEnv to WorkspaceTracingEnv 2022-05-11 13:25:26 +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
Gero Posmyk-Leinemann
d90e6ab4a7 [installer] Fix server GitHub app cert mount 2022-05-06 13:17: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
Gero Posmyk-Leinemann
e955e75f59 [installer] Minor alignments + fixes 2022-05-05 13:16:20 +05:30
Andrew Farries
9b1f309f72 Ensure enableLocalApp defaults to true when unset 2022-05-04 18:16:20 +05:30
Andrew Farries
0eac574ece Make runDbDeleter configurable
Take the value from the experimental server config rather than
hardcoding to `true`.
2022-05-04 18:16:20 +05:30
Andrew Farries
2093016330 [installer] Make chargbee configurable for server 2022-05-04 14:29:20 +05:30
Andrew Farries
857f98c8c1 Add tests for server configmap logic
Extract named structs for fields that were nested under `ServerConfig`
so that they can be instantiated in tests.
2022-04-29 19:18:15 +05:30
Andrew Farries
faff7db1e9 Make defaultBaseImageRegistryWhitelist configurable
This was previously hard-coded to empty in the server configmap.
2022-04-29 19:18:15 +05:30
Andrew Farries
a03913e62b Make enableLocalApp configurable
This was previously hard-coded to true in the server configmap.
2022-04-29 19:18:15 +05:30
Andrew Farries
557b15cb24 Make disableDynamicAuthProviderLogin configurable
This was previously hard-coded to false in the server configmap.
2022-04-29 19:18:15 +05:30
Andrew Farries
f350f5455f Rename UsePodAffinity to UsePodAntiAffinity 2022-04-29 19:17:15 +05:30
Andrew Farries
bc06510320 Use pod anti-affinity for server if flag is set 2022-04-28 20:04:14 +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
Christian Weichel
96b2a36540 [ws-daemon] Support GIT_SSL_CAINFO 2022-04-28 18:47:14 +05:30
Moritz Eysholdt
82d7451ce9 Remove unneeded privileges 2022-04-28 15:52:14 +05:30
Gero Posmyk-Leinemann
263ad011fd [server] Remove superfluous config field builtinAuthProvidersConfigured 2022-04-28 14:42: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
Gero Posmyk-Leinemann
6bc0571a52 [chart, server] Remove abandoned theiaPluginsBucketNameOverride 2022-04-19 20:33:32 +05:30
Gero Posmyk-Leinemann
8216f8c68e [server, protocol] Remove superfluous "stage" config 2022-04-19 20:33:32 +05:30
Gero Posmyk-Leinemann
92641cacc6 [installer] Add missing ports to server, ws-manager-bridge 2022-04-14 21:00:27 +05:30
Andrew Farries
15deb83caf Camel-case struct field name for consistency 2022-04-14 14:35:27 +05:30
Andrew Farries
8d7a92688f Make server githubApp.certSecretName configurable 2022-04-14 14:35:27 +05:30
Andrew Farries
2021e83d5d Move server config under webapp.server config 2022-04-13 19:24:26 +05:30
Andrew Farries
7d96932db1 Make server githubApp configurable
Default to the existing default value, but allow the value to be
overriden by a new experimental config value.
2022-04-13 19:24:26 +05:30
Andrew Farries
e05f015228 Make server session secret configurable
Default to the existing default value, but allow the value to be
overriden by a new experimental config value.
2022-04-13 19:24:26 +05:30
Andrew Farries
a3125cfd25 Make server jwtSecret configurable
Default to the existing default value, but allow the value to be
overriden by a new experimental config value.
2022-04-13 19:24:26 +05:30
Andrew Farries
0a378ee352 Make server workspaceImage configurable
Default to the existing default value, but allow the value to be
overriden by a new experimental config value.
2022-04-13 19:24:26 +05:30