-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rkt env vars are quoted #2686
Comments
I've been meaning to report this for some time. For some reason it hasn't impacted my applications, but it is a problem when I |
Looks like it was as easy as changing |
When I tested that, with %s it only could support single-line vars without any escape chars; having \n there broke |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Because of the %q here rkt env vars values are still quoted: https://github.com/hashicorp/nomad/blob/master/client/driver/rkt.go#L314
@legeyda reported in gitter that
env { CONSUL_HTTP_ADDR = "${NOMAD_IP_app}:8500" }
sets the environment variables to"10.0.2.15:8500"
(note the literal quotes) when it should be10.0.2.15:8500
.This may be as simple as switching %q to %s but requires some testing first.
The text was updated successfully, but these errors were encountered: