overwrite parameteres (env) of template

2016-04-27 Thread Den Cowboy
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 projec

Re: overwrite parameteres (env) of template

2016-04-27 Thread Skarbek, John
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 ```

Re: overwrite parameteres (env) of template

2016-04-27 Thread Luke Meyer
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 wrote: > Den, > > You are

Re: overwrite parameteres (env) of template

2016-04-27 Thread Clayton Coleman
This is a usability bug in new-app, in that it's easy to get this mixed up. When you run "oc new-app a_template A=B" we should treat A as a parameter, and when you run "oc new-app a_image A=B" we should treat A as an env var, which would make the behavior more with user expectation (env and params

Public URL's

2016-04-27 Thread Fran Barrera
Hello, Is it possible to publish openshift with two URL's? I can see the parameter PublicURL in master-config.yaml but I need to have two PublicURL. I don't know if this is possible or if this will be done for other way. Best Regards. ___ users mailing

Re: OpenShift Origin assistance desired

2016-04-27 Thread Jonathan Yu
Hey Alex, On Tue, Apr 26, 2016 at 1:06 PM, Alex Wauck wrote: > My employer (www.exosite.com) has a pilot project using OpenShift Origin > and we're looking for a contractor to help in configuring OpenShift and > Kubernetes. AWS experience would be helpful too, since we suspect the > issues > Not

Re: OpenShift Origin assistance desired

2016-04-27 Thread Alex Wauck
On Wed, Apr 27, 2016 at 12:10 PM, Jonathan Yu wrote: > Hey Alex, > > On Tue, Apr 26, 2016 at 1:06 PM, Alex Wauck wrote: > >> My employer (www.exosite.com) has a pilot project using OpenShift Origin >> and we're looking for a contractor to help in configuring OpenShift and >> Kubernetes. AWS expe

Re: Public URL's

2016-04-27 Thread Aleksandar Lazic
Hi Fran. with two router pairs and with different domains, Yes it's possible. If I understand you right. Best regards Aleks From: users-boun...@lists.openshift.redhat.com on behalf of Fran Barrera Sent: Wednesday, April 27, 2016 19:03 To: users Subject

proper format for openshift_master_identity_providers in Ansible inventory?

2016-04-27 Thread Robert Wehner
I am using the advanced installation method for Origin using the 3.0.84-1 release of the openshift-ansible repo. I am trying to set up my identity providers so the cluster will accept LDAP- and htpasswd-based access using an openshift_master_identity_providers setting in my ansible inventory like t

Re: proper format for openshift_master_identity_providers in Ansible inventory?

2016-04-27 Thread Jason DeTiberus
On Wed, Apr 27, 2016 at 4:19 PM, Robert Wehner wrote: > I am using the advanced installation method for Origin using the 3.0.84-1 > release of the openshift-ansible repo. I am trying to set up my identity > providers so the cluster will accept LDAP- and htpasswd-based access using > an openshift_

Re: proper format for openshift_master_identity_providers in Ansible inventory?

2016-04-27 Thread Jason DeTiberus
On Wed, Apr 27, 2016 at 4:40 PM, Jason DeTiberus wrote: > > > On Wed, Apr 27, 2016 at 4:19 PM, Robert Wehner < > robert.weh...@returnpath.com> wrote: > >> I am using the advanced installation method for Origin using the 3.0.84-1 >> release of the openshift-ansible repo. I am trying to set up my i