Hey, is that a variable starting with
RESIN_? If so, it should go to the Fleet Configuration or Device Configuration section. It’s a known “quirk”, that we are working on.
The Environment Variables and Configurations are two similar things, but they have some differences in behaviour that we need to either make less surprising or communicate better.
The Configurations modify the device’s behaviour, some trigger restart (such as the
RESIN_HOST_CONFIG variables to change Raspberry Pi’s
config.txt), some doesn’t change anything when added, just later (such as
RESIN_SUPERVISOR_DELTA, and they affect the device, not the application, hence they are in their own section.
Environment Variables are just that, env vars for your application, and they always trigger restart of the application (but not the device).
This is definitely an area to improve on.
And yeah, can drop in staging stuff right in this category.