Gero Posmyk-Leinemann
2686bc2f47
[server, bridge] Bump grpc-js and authzed clients ( #19849 )
...
* [yarn] Bump @grpc/grpc-js to 1.10.8 and @authzed/authzed-node to 0.15.0
* [server] SpiceDB: explicit re-try on UNAVAILABLE
We tried to configured this inside the SpiceDBClientProvider already, but somehow it still surfaced.
* [server, bridge] Configure "grpc.dns_min_time_between_resolutions_ms" to be 2s instead of 30s
2024-06-06 13:57:19 +08:00
Gero Posmyk-Leinemann
b75162c5bb
[ws-manager-mk2] Make WorkspaceRunningCondition.LastTransitionTime stable ( #19698 )
2024-05-03 20:53:43 +08:00
Manuel Alejandro de Brito Fontes
5992b0f614
Update go dependencies ( #19577 )
...
* Update go dependencies
* Update S3
* Caddy plugins cannot use 1.22
* Update controller runtime signatures
* Update webhook suite test
* Update IPFS signatures
* Update go modules
* Update ipfs-cluster to v1.0.8
* Fix node-labeler build
* Fix IPFS CID parsing
* Update ipfs-cluster version
* Update controller-runtime signature
* Update statefulset signature
* Disable controller-runtime metrics
* Add comments
2024-03-26 20:55:35 +01:00
Wouter Verlaek
c5ba13cdf2
[ws-daemon] Take backup once container has stopped ( #19411 )
2024-02-09 17:02:51 +02:00
Kyle Brennan
7e085ed5ad
[ws-manager-api] remove unused SSHKey field ( #19287 )
...
* [ws-manager-api] remove SSHKey field
It's no longer needed
* Ran kubebuilder `make generate`
* Ran kubebuilder's `make manifests`
* Update readme
* Cleanup
2024-01-03 17:00:41 +02:00
Anton Kosyakov
521e6a5aab
[dashboard] use HTTP endpoint for telemetry ( #19223 )
...
* [dashboard] use HTTP endpoint for telemetry
* 💄
---------
Co-authored-by: Jean Pierre <jeanpierre@gitpod.io>
2023-12-12 14:56:19 +02:00
Pudong
6ecc991ff5
[experimental] add ssh certificate authorities as feature flags ( #19208 )
2023-12-07 22:59:14 +02:00
Pudong
10fe5b9699
[sshgateway] use ssh CA to auth ( #19147 )
...
* [sshgateway] use ssh CA to auth
* change name
* add error log
* fix
* mark volume optional
* [installer] validate ssh-ca secret
* Revert "[installer] validate ssh-ca secret"
This reverts commit ca6ede78a7b5a720fd315eca32eb277cb5063069.
We must support the scenario where the installer has the secret, but, it is not in the cluster yet.
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-11-30 19:17:08 +02:00
Pudong
b983b6276f
[ws-manager] use workspace class description ( #19164 )
2023-11-29 14:11:06 +02:00
Manuel Alejandro de Brito Fontes
453bf6ea4a
Refactor configuration of workspace SSH key ( #19059 )
...
* Refactor configuration of workspace SSH key
* Update go modules
* Update CRD
* only add SSH Key to workspace CR (#19130 )
---------
Co-authored-by: Pudong <tianshi8650@gmail.com>
2023-11-24 15:55:01 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance ( #19052 )
...
* [scrubber] Improve KeyValue performance
* Update benchmark comment
* update go mod
* Add metaID to hashed fields
---------
Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Christian Weichel
bb51f07988
Collect workspace classes from workspace cluster ( #19003 )
...
* Extend ws-manager API to support workspace class descriptions
fixes ENG-1065
* Extend DescribeCluster in ws-manager-mk2
to acurately report the available workspace classes
fixes ENG-1066
* Add workspace classes to cluster in DB
* Intergrate workspace cluster collection in ws-manager-bridge
* Feature flag off discovered workspace class usage
* Fix build
* Add unittest for getSupportedWorkspaceClasses
* Fix workspace class storage
* Adress review feedback
2023-11-10 13:13:48 +02:00
Christian Weichel
9331ac5507
Add storage metadata to workspace CR ( #19044 )
...
* Adding volume fields to workspace CRs
* Move workspace volume details to status
* Add VolumeAttachRequest condition
* Add throughput condition (#18982 )
---------
Co-authored-by: Alejandro de Brito Fontes <aledbf@gmail.com>
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2023-11-09 14:06:47 +02:00
Thomas Schubart
17f7b6c2a7
Add throughput condition ( #18982 )
2023-10-30 13:00:37 +02:00
Pudong
81ff3d16e4
[ws-manager-mk2] redact log ( #18906 )
...
* update to logrusr v4
* Add DeepCopyStruct to scrubber
* use DeepCopyStruct to scrub log
* mark wrokspace.stauts.url redact
2023-10-16 13:48:23 +03:00
Christian Weichel
f482e0a02d
Add subassembly service API ( #18834 )
...
* Add subassembly service API
* Make workspacekit image configurable
2023-09-28 14:55:07 +03:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 ( #18805 )
2023-09-26 17:52:05 +03:00
Huiwen
181c983405
[server,dashboard] verify image accessibility when updating org workspace image setting ( #18747 )
...
* [server] verify image accessibility before update settings
* [dashboard] update org settings page
* fixup disable button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* hid change button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* update image hint
* Add description to WorkspaceImageButton
* Lighter description
* render desc list
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-09-20 23:01:59 +02:00
Alex Tugarev
0189623c4b
🧹 Update mocha and remove resolutions ( #18736 )
...
* remove resolutions in root package.json
update mocha to avoid pulling in minimatch@3.0.4
* adjust mocha config
* also consider *.spec.db.*
* re-add missing exclude of node_modules
* remove recursive
* fix mocha execution
2023-09-19 09:22:58 +02:00
Manuel Alejandro de Brito Fontes
258651f923
Filter subscriber reconciler events (v2) ( #18696 )
...
* Filter subscriber reconciler events (v2)
* Ignore LastActivity
2023-09-12 20:54:52 +02:00
Wouter Verlaek
2ac49194c6
Revert "Filter subscriber reconciler events ( #18660 )" ( #18694 )
...
This reverts commit 9470fb880093522021c1eaeecfb0373d087c39c3.
2023-09-11 11:28:09 +02:00
Manuel Alejandro de Brito Fontes
9470fb8800
Filter subscriber reconciler events ( #18660 )
...
* Filter subscriber reconciler events
* Notify changes in the port visibility
* Switch to reflect.DeepEquals
* Address feedback
2023-09-06 16:33:04 +02:00
Gero Posmyk-Leinemann
938f0ba841
[ws-manager-api] Remove deprecated fields ( #18641 )
2023-09-01 14:38:58 +02:00
Sven Efftinge
841b616c34
[spicedb] fix stale connection handling ( #18631 )
2023-09-01 12:53:58 +02:00
Manuel Alejandro de Brito Fontes
687f337899
Enable leader election in ws-manager-mk2 (v3) ( #18539 )
...
* Enable leader election in ws-manager-mk2
* Update go modules
* Move workspace activity to CRD
* Remove workspace activity
* Cleanup
* Update ws-manager-mk2 CRD
* Cleanup
* Restore lastActivity logic
* TEST
* Disable observability
* Start the grpc server after leader election
* Bount the source of subscribers to an informer
* Cleanup
* Avoid deepCopy
* Remove goroutine to execute OnReconcile
* Refactor last activity to be consistent acrtoss the controllers
* Address feedback
2023-08-26 22:28:52 +02:00
Wouter Verlaek
bf3d548266
[ws-manager-mk2] Scrub status fields, add vscode launch.json ( #18595 )
...
* [ws-manager-mk2] Scrub status fields, add vscode launch.json
* Fix scrubber panic on unexported pointer
2023-08-25 13:00:51 +02:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 ( #18505 )
...
* Update buildkit to v0.12.1
* Update DisplaySolveStatus signature
* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Kyle Brennan
34b4602286
[ws-manager-mk2] remove experimental mode feature ( #18513 )
...
* [installer] remove experimental mode
* [ws-manager-mk2] remove experimental node selector
* [ws-manager-api] remove ExperimentalMode from configuration
* Add `ws-manager-api` to vscode workspace
* [preview] remove experimental & bump deps
Depends on https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/246
* [preview] LocalStorageCapacityIsolation is GA, no needed as a gate in 1.27
2023-08-15 06:37:41 +02:00
Manuel Alejandro de Brito Fontes
de4bbbea1c
Add a new trust bundle for custom SSL certificates ( #18450 )
...
* Add a new trust bundle for custom SSL certificates
* Mount the customer certificate in the workspace
* Use the custom certificate in components
* Cleanup
* Set env variables and mount the crt in a different file
* rename custom ca cert file name
* Fix the filename in env vars
* Enable custom SSL certificate conditionally
---------
Co-authored-by: nandajavarma <nandaja.varma@gmail.com>
2023-08-08 16:46:34 +02:00
Sven Efftinge
7f81d83956
fix watch mode ( #18414 )
2023-08-07 17:04:33 +02:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules ( #18372 )
2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
8c6d8e28f3
Update dependencies ( #18362 )
...
* Update k8s dependencies to v1.27.3
* Update opencontainers/runtime-spec to v1.1.0
* Update controller runtime to v0.15.0
* Update go modules
* Fix build
* Cleanup
* Fix ws-manager e2e tests
2023-07-27 23:34:29 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 ( #18360 )
2023-07-27 22:24:29 +08:00
Alex Tugarev
afac02330b
Downgrade grpc-js ( #18346 )
...
Current version seems to have issues with tearing down the node processes.
2023-07-26 17:46:42 +08:00
Gero Posmyk-Leinemann
d7acfb662a
Updated outdated dependencies to avoid CVEs ( #18144 )
...
* Update grpc/grpc-js
* Update http-cache-semantics
* decode-uri-component
2023-07-04 16:40:21 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency ( #18149 )
2023-07-04 16:37:21 +08:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages ( #18128 )
...
* [ts] Pin mimimatch and minimist
* [server] Update minio
* [ts] Remove superfluous node-pre-gyp dep
* [ts] Pin jsonwebtoken to 9.0.0
* [grpc] Update grpc-toolsis
* [ts] Upgrade from mocha-typescript to @testdeck/mocha
* fix rimraf
2023-07-03 14:47:19 +08:00
Milan Pavlik
2933eeef54
Upgrade ts-node to 10.4 WEB-575, WEB-576 ( #18102 )
...
* Upgrade ts-node to 10.4
* [server] Make typings work in workspace AND leeway
* [leeway] Increase node heap size to 8GB
---------
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-06-30 20:26:48 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Wouter Verlaek
cbc8b38a91
[ws-daemon] Add OWI to logs ( #18017 )
2023-06-22 21:44:12 +08:00
Gero Posmyk-Leinemann
909955d2c4
[db, ts] Introduce a generic db.transaction() ( #17980 )
...
* [ts] Upgrade inversify 5.0.1 -> 6.0.1
* [server, db] Introduce TransactionalDB for User, Workspace, Projects
* Fix tests
2023-06-21 16:12:11 +08:00
Gero Posmyk-Leinemann
54307a551e
[server] Remove dead permissions code ( #17918 )
2023-06-19 17:45:10 +08:00
Thomas Schubart
20164cbb4a
[wsman-mk2] Simplify condition checking ( #17961 )
2023-06-17 22:59:07 +08:00
Thomas Schubart
4584f8fda9
[wsman-mk2] Change default class to g1-standard ( #17950 )
...
* [wsman-mk2] Change default class to g1-standard
* [preview] Update workspace classes
2023-06-15 20:23:05 +08:00
Thomas Schubart
c729eb8dd9
[ws-manager-mk2] Make workspace class limiting the default ( #17917 )
...
* [wsman-api] Remove class limiting feature flag
* [wsman-mk2] Remove class limiting feature flag
2023-06-15 17:15:05 +08:00
Thomas Schubart
2cab1406dd
[ws-manager-mk2] Remove persistent volume claim feature ( #17860 )
...
* [ws-daemon] Remove PVC
* [installer] Remove PVC
* [workspacekit] Remove PVC
* [content] Remove PVC
* [preview] Remove PVC
* [wsman-api] Remove PVC
* [ws-daemon-api] Remove PVC
* [workspacekit] Mount workspace directory
* [supervisor] Remove PVC
* [test] Remove PVC
* Fix build
2023-06-13 18:35:04 +08:00
Thomas Schubart
e4688a23a7
[ws-manager-mk2] Configure max workspace lifetime ( #17767 )
...
* [wsman-api] Add maximum lifetime to workspace request
* [wsman-api] Add maximum lifetime to workspace CRD
* [wsman] Set maximum lifetime during workspace start
* [wsman] Check custom max lifetime
* [wsman-api] Fix conflicting raw proto
* [wsman-mk2] Test custom max lifetime
2023-06-12 19:25:02 +08:00
Thomas Schubart
fe08421325
[ws-daemon] Remove full workspace backup ( #17803 )
2023-06-01 17:36:06 +08:00
Kyle Brennan
1a7c50a8b5
[ws-manager-mk2] support storage quotas ( #17606 )
...
* [ws-manager-mk2] add support for storage quotas
This way, on workspace create, `ws-daemon` can set XFS limits for `/workspace`
* [preview] set smaller /workspace limits
This way we don't have to spend more on preview environments.
* [ws-daemon] warn when xfs is missing
* Partial revert of "Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552 )" (#17645 )"
This reverts commit e082b7f48885199013df927d3c71c62935f74047.
It avoids reverts on notify.go and workspace_provider.go.
* [ws-daemon] log when handling running workspaces
* [test] add test for xfs quotas
2023-05-19 20:49:53 +08:00
Pudong
176393a0c8
Add support to forward https protocol port ( #17644 )
...
* add support to forward https protocol port
* Update components/ws-proxy/pkg/proxy/routes.go
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00