hossted / cli

The hossted cli - built to interact with a hossted agent and the hossted API
https:/hossted.com
MIT License
4 stars 4 forks source link

makefile doesn't override HOSSTED_API_URL for dev mode #99

Closed gannulka closed 3 months ago

gannulka commented 3 months ago

If you run locally make -f Makefile dev after export locally all the env vars and HOSSTED_API_URL=https://api.dev.hossted.com/v1/instances , then run

bin/dev/hossted activate --token SOME JWT TOKEN --org_id YOUR_ORG_ID -t k8s , you will see that hossted-operator works with all dev vars except HOSSTED_API_URL, it still uses default value - HOSSTED_API_URL: https://api.hossted.com/v1/instances .

So currently it's not possible to create cli binary for dev env

gannulka commented 3 months ago

fixed by https://github.com/hossted/cli/pull/102