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

  1. Start GitLab on vtak/agentw_integration_test branch.
  2. Set workspaces.enabled: true in your KAS config. Usually, this config will be at ${GDK_DIR}/gitlab-k8s-agent-config.yml.
  3. Start GitLab Agent Server(KAS).
  4. curl http://workspaces.localtest.me:9000/
  5. Verify the response is Hello from Workspaces Server.
Edited by Vishal Tak

Merge request reports

Loading