[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

CMD with env vars



Hi,

Sorry it's not the right place to post that, but I can't manage to get a container running when env var are present in the command:

 spec:
   containers:
   - command:
     - /nsqd
     - --worker-id=${WORKER_ID:-0}
     env:
     - name: WORKER_ID
       value: "1"

I have tried with /bin/sh -c, with or without quotes, etc., and nothing is working.

Thanks,
Philippe

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]