galasa-dev / projectmanagement

Project Management repo for Issues and ZenHub
7 stars 3 forks source link

CLI: galasactl resources commands don't pass a JWT to the API server #1820

Closed eamansour closed 2 months ago

eamansour commented 2 months ago

Describe the bug

Currently, the galasactl resources commands aren't adding an "Authorization" header to the requests and will always fail when attempting to contact an authenticated API server (see resourcesApplier.go).

Steps to reproduce

  1. Run the test-galasactl-ecosystem.sh script
  2. The script will error when reaching the resources tests

Expected behavior

The resources commands should send a JWT to an authenticated API server.

Tasks