Closed umgelurgel closed 3 years ago
Thanks for the report. App platform global envs are a new feature that is not yet supported in doctl
. Looks like we'll need to cut a new godo release with the changes from https://github.com/digitalocean/godo/pull/422 and rebuild doctl with that.
Thanks for the quick response and a quick fix!
Describe the Issue:
doctl apps
ignores the globalenvs
section of the appspec file. It's misleading when usingdoctl apps spec get ${APP_ID}
when the generated appspec file is missing these values, but can be catastrophic when usingdoctl apps update ${APP_ID} --spec app.yaml
as this ignores the values in the appspec file and removes all existing global envs from the application.The global
envs
section is present when exporting the appspec through the gui.Environment: