open-balena-api
open-balena-api copied to clipboard
API uses deprecated host envvars
Most HOST
variables have changed in name in the closed API, (eg. VPN_HOST
is now BALENA_VPN_HOST
, etc.). We should alter the open API to follow these changes.
@hedss did similar changes occur to VPN and registry?
BTW, to handle this, we'll need to:
- update open-balena to pass both old and new env vars
- update open-balena-api to use the new env vars
- update open-balena to remove old env vars
@dfunckt Yes, if you look at https://github.com/balena-io/open-balena-base/pull/62/files you'll see the list of altered HOST names. Each component was changed to rename them from RESIN_ to BALENA_ at the time.