Configure workspaces http server on initialization
Issue: Add OAuth for traffic on Workspaces HTTP server (#733 - closed)
Description
Fetch workspaces server config on initialization. Add empty middleware for authentication.
Steps to verify
- Start GitLab on
vtak/agentw_integration_testbranch. - Set
workspaces.enabled: truein your KAS config. Usually, this config will be at${GDK_DIR}/gitlab-k8s-agent-config.yml. - Start GitLab Agent Server(KAS).
curl http://workspaces.localtest.me:9000/- Verify the response is
Hello from Workspaces Server.
Edited by Vishal Tak