0

I have this consul kv

 curl -XPUT http://localhost:8500/v1/kv/consul-server1/testData -d HELLO

how can i call/pass it in nomad job as env variable?

 env { "data"= ? }
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
rkevx21
  • 2,441
  • 5
  • 19
  • 40
  • 2
    Check this out https://www.nomadproject.io/docs/job-specification/template.html – mchawre Jun 28 '19 at 04:10
  • Does this answer your question? [Passing a value to nomad from Consul kv](https://stackoverflow.com/questions/56801967/passing-a-value-to-nomad-from-consul-kv) – OneCricketeer Jan 01 '20 at 05:25

0 Answers0