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

Re: overwrite parameteres (env) of template



To be fair, the command usage statement isn't clear about the context in which -e is used. For template parameters, you should be using --param. For env vars on creating an app from source/image/custom -e would be relevant.

On Wed, Apr 27, 2016 at 8:20 AM, Skarbek, John <John Skarbek ca com> wrote:

Den,

You are passing the incorrect flags. The templates don’t use the -e flag, but rather the --param flag.  Something like this should work:

```

oc new-app mysql-ephemeral \
> --param=MYSQL_USER=activiti \
> --param=MYSQL_PASSWORD=activiti \
> --param=MYSQL_DATABASE=activiti_production

```



-- 
John Skarbek

On April 27, 2016 at 08:02:11, Den Cowboy (dencowboy hotmail com) wrote:

mysql-ephemeral


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



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