Closed mathieudevos closed 16 hours ago
I will retest this by end of next week.
This should be fixed by #468 .
Meanwhile you can use GNMIC_ADDRESS
and GNMIC_TOKEN
for those global attributes instead of setting them in the config file.
Added in v0.38.0, the only exceptions are the fields password
and token
.
Hey,
As the title states, if you attempt to use environment variable expansion through
${ENV_VAR}
it does not seem to work on top level.Example of gnmic.yml file:
^ in the above example, INFLUX_ADDRESS and INFLUX_TOKEN will be replaced by their respective env vars, however ${MY_ADDRESS} and ${MY_TOKEN} will not be substituted and be dropped as is.
Figuring this out took me quite a while as I was seeing unauthorized issues with a token that I was quite sure should work.
Hopefully this either gets amended in the information or bugfixed.