51 Commits

Author SHA1 Message Date
Sven Efftinge
a96cb7bf36 [ws-classes] simplify workspace classes
simplified by
- removing user-level setting
- removing deprecation
- removing ws-class inheritence between ws sessions
2022-12-01 13:59:00 -03:00
Gero Posmyk-Leinemann
bafbaab329 [server, installer] Make PrebuildRateLimiter period configurable 2022-11-30 07:43:59 -03:00
Milan Pavlik
6f0deca146 [server] Configure PAT signing key 2022-11-30 05:30:59 -03:00
Milan Pavlik
f5dc3d8334 [server] Remove createSubscriptionOnUsage feature flag 2022-11-21 05:13:50 -03:00
Milan Pavlik
5743b9f4d1 [server] Run GC every 5 minutes, dedelete content of up to 100 chunks 2022-11-11 11:10:41 +02:00
Thomas Schubart
6e7cbfb18c [installer] Do not add protected secrets flag by default 2022-11-02 21:25:07 +01:00
Jan Keromnes
aedb5c4046 [installer][server] Clarify 'inactivityPeriodForRepos' by renaming it to '...InDays' 2022-10-26 18:49:41 +02:00
Jan Keromnes
af5311dcfe [installer] Actually add 'inactivityPeriodForRepos' to server configmap 2022-10-26 18:49:41 +02:00
Kyle Brennan
0cd9c5d483 [installer] enable protected_secrets by default
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-07 08:56:22 +02:00
Christian Weichel
9c7e7c356d [installer] Support enabling protected secrets 2022-09-30 15:07:31 +02:00
Pudong Zheng
481267b24f [server] decouple get ide config logic from server 2022-09-27 16:12:28 +02:00
Milan Pavlik
e6fc700b14 [server] Purge records older than 1 year from content deletion 2022-09-23 12:54:24 +02:00
Andrew Farries
86d80e6d10 [installer] Set maximumEventLoopLag
Hard code the server setting added in the parent commit. If necessary,
this could become configurable (via an experimental config setting).
2022-09-22 16:10:23 +02:00
Milan Pavlik
480e97bd59 [server] Purge 5k instances at a time 2022-09-19 11:33:20 +02:00
Milan Pavlik
b589c6d463 [server] Purge workspaces which are older than 2 years 2022-09-16 13:39:17 +02:00
Gero Posmyk-Leinemann
a7fd1becd6 [server] Delete Workspaces & Workspace Instances after configured period 2022-09-15 15:27:16 +02:00
Simon Emms
53932cef34 [installer]: set the server URLs to the FQDN and add no_grpc_proxy envvar
The @grpc/grpc-node package does not support wildcards in the no_proxy
envvar. Add the FQDN's for the components that the server calls to the
no_grpc_proxy envvar so that these calls are not proxied
2022-09-13 12:38:14 +02:00
Nandaja Varma
ec2f934ad3 [installer] move workspaceImage out of experimental config 2022-07-27 04:40:21 -03:00
Thomas Schubart
ab8eb0b13b [installer] Extend workspace class info 2022-07-25 12:39:20 -03:00
Gero Posmyk-Leinemann
53e47b2c98 [server] Use WorkspaceClassesConfig 2022-07-21 05:10:16 -03:00
Thomas Schubart
4f6a5b576c Incorporate review feedback
- Use latest workspace instance to set workspace class
- Add more detailed configuration for workspace classes
- Make workspace classes configurable in installer
2022-07-21 05:10:16 -03:00
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
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02: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
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
Andrew Farries
539414d0e4 Ensure that blocked repo string is a valid regexp 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
4f70422024 Make workspace garbage collection configurable 2022-05-10 12:38:25 +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
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
Gero Posmyk-Leinemann
263ad011fd [server] Remove superfluous config field builtinAuthProvidersConfigured 2022-04-28 14:42:14 +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
Gero Posmyk-Leinemann
8216f8c68e [server, protocol] Remove superfluous "stage" config 2022-04-19 20:33:32 +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
Gero Posmyk-Leinemann
21263bd4e7 [installer] Introduce metadata.shortname 2022-04-11 21:03:24 +05:30
Cornelius A. Ludmann
5166afd3d9 [installer] Allow to set default workspace timeout 2022-04-06 14:35:19 +05:30
Andrew Farries
54a765d321 Add rate limits for prebuilds
Prebuilds are rate-limited to N in the last S seconds on a rolling
window basis.
By default, 50 prebuilds are allowed in a 1 minute window.
A configuration property `prebuildLimiter` is added which controls
default rate limit but allows for explicit overrides by cloneURL.
2022-03-08 19:40:15 +05:30