gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

[ws-proxy] Filter cookies on all routes that send traffic to the workspace (except supervisor)

Open geropl opened this issue 1 year ago • 2 comments

Description

Instead of only filtering auth cookies from port routes, filter it from all routes that are are:

  • pointing at the workspace pod
  • not directly meant for supervisor

Related Issue(s)

Fixes ENT-70

How to test

  • see that you can start a workspace

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • [ ] /werft with-werft Run the build with werft instead of GHA
  • [ ] leeway-no-cache
  • [ ] /werft no-test Run Leeway with --dont-test
Publish
  • [ ] /werft publish-to-npm
  • [ ] /werft publish-to-jb-marketplace
Installer
  • [ ] analytics=segment
  • [ ] with-dedicated-emulation
  • [ ] workspace-feature-flags Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • [ ] /werft with-local-preview If enabled this will build install/preview
  • [x] /werft with-preview
  • [ ] /werft with-large-vm
  • [x] /werft with-gce-vm If enabled this will create the environment on GCE infra
  • [x] /werft preemptible Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • [ ] with-integration-tests=all Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • [ ] with-monitoring

/hold

geropl avatar May 23 '24 14:05 geropl

@akosyakov Any ideas what we should test specifically? I did basic workspace starting, stopping, etc. and that did work.

geropl avatar May 23 '24 15:05 geropl

We had some unit tests for routes, maybe we should extend them to verify that such cookie is not present? Otherwise I would also test it manually. cc @mustard-mh @iQQBot could you help with testing?

akosyakov avatar May 24 '24 08:05 akosyakov

/unhold

geropl avatar May 28 '24 06:05 geropl