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

overwrite parameteres (env) of template



I try to create a mysql container using the template (from the CLI, in the webapp it works fine)
$ oc new-project test
$ oc new-app mysql-ephemeral \
> -e MYSQL_USER=activiti \
> -e MYSQL_PASSWORD=activiti \
> -e MYSQL_DATABASE=activiti_production
--> Deploying template "mysql-ephemeral" in project "openshift" for "mysql-ephemeral"
     With parameters:
      Memory Limit=512Mi
      Namespace=openshift
      Database Service Name=mysql
      MySQL User=userGB1 # generated
      MySQL Password=7VB5qmdHuXbPl52p # generated
      MySQL Database Name=sampledb

I see a mysql in my test project with the wrong parameters/env variables.

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