You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
time="2021-03-29 23:20:11" level=info msg="[ERR] consul.watch: Watch (type: service) errored: Get \"http://$%7BHOST_IP%7D/v1/health/service/test-api?passing=1\": dial tcp: lookup ${HOST_IP}: no such host, retry in 5s" CMD=entrypoint PID=1 oops-i-did-not-pass-context-correctly=true
To Reproduce
Steps to reproduce the behavior:
Create a ConsulResolver with an environment variable in the address field
Expected behavior
It should expand the HOST_IP variable when querying consul
Versions (please complete the following information):
Ambassador: 1.12.1
The text was updated successfully, but these errors were encountered:
kflynn
changed the title
Environment variable expansion in ConsulResolver address field requires legacy mode
Regression: ConsulResolver environment variable expansion doesn't work without legacy mode
Mar 31, 2021
Describe the bug
Per https://www.getambassador.io/docs/edge-stack/latest/topics/running/resolvers/ environment variable expansion is supported in the resolver address. However, as of 1.12.1, this doesn't work unless
AMBASSADOR_LEGACY_MODE
is also set.To Reproduce
Steps to reproduce the behavior:
address
fieldExpected behavior
It should expand the
HOST_IP
variable when querying consulVersions (please complete the following information):
The text was updated successfully, but these errors were encountered: