Isn't your env var WORKER_ID? You only need the shell if you're trying to use curly braces. The parenthesis syntax is supported by kube.
On Thu, Feb 25, 2016 at 2:04 PM, Philippe Lafoucrière <[email protected]> wrote: > > On Thu, Feb 25, 2016 at 2:01 PM, Clayton Coleman <[email protected]> > wrote: >> >> Defaults are not supported in the kube syntax. If you want to do >> shell expansion, your command has to be `["/bin/sh", "-c", >> "--worker-id=${WORKER_ID:-0}"]` > > > Ok, that probably why, thanks Clayton. Anyway, I already tried: > > spec: > containers: > - command: > - /bin/sh > - -c > - /nsqd > - --worker-id=$(WORKER) > > and it's not working either :( > _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
