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

Re: Using a custom git template without customizing the cart




----- Original Message -----
> From: "Clayton Coleman" <ccoleman redhat com>
> To: "Luke Meyer" <lmeyer redhat com>
> Cc: "Openshift Dev" <dev lists openshift redhat com>
> Sent: Tuesday, January 21, 2014 12:14:34 PM
> Subject: Re: Using a custom git template without customizing the cart
> 
> 
> 
> > On Jan 21, 2014, at 12:02 PM, Luke Meyer <lmeyer redhat com> wrote:
> > 
> > Putting anything in the manifest is still a custom cart... have to
> > fork it and maintain that.
> > 
> > I think some conf at the broker that supplies a default --from-code
> > URL would suffice. That way the template could either be centrally
> > managed in an external repo, or installed on all the nodes
> > (possibly with variations) at file:///...
> 
> We disallow file:// urls for security reasons.  I think we might want
> to keep that restriction for various reasons.  Organizations using
> git can host those elsewhere if necessary, or in an app.

True. But file:// would give the ability to customize per node, which might be handy. Probably not immediately necessary, but... what if file:///etc/openshift/cart.conf.d/templates/* were allowed? In fact, the node could just use entries in there by default if they existed...

> > 
> > ----- Original Message -----
> > From: "Clayton Coleman" <ccoleman redhat com>
> > To: "Luke Meyer" <lmeyer redhat com>
> > Cc: "Openshift Dev" <dev lists openshift redhat com>
> > Sent: Tuesday, January 21, 2014 10:57:37 AM
> > Subject: Re: Using a custom git template without customizing the
> > cart
> > 
> > No way to do it with --from-code.
> > 
> > I think ideally we'd support a git template URL in the manifest,
> > instead of requiring it be in the cart, which is something we've
> > discussed for Docker.  That would be a cleaner override path
> > (wouldn't need the same git repo on all your nodes).  We could in
> > theory support it in the broker as a config file option, and then
> > the lookup would need to go into ApplicationsController#create if
> > the value the user passed was null.
> > 
> > ----- Original Message -----
> >> I'm certain we had a conversation on this but I'm having trouble
> >> recalling
> >> the outcome. Someone please help my failing mental faculties.
> >> 
> >> Suppose I want to install OpenShift and use the standard
> >> cartridges, but I'd
> >> just like to personalize the git templates they come with - you
> >> know,
> >> "Welcome to FooBarCo's OpenShift" instead of our standard app
> >> template. You
> >> can tell everyone to use --from-code with your internal repo, but
> >> who wants
> >> to do that? Wasn't there a way to administratively make set the
> >> default
> >> --from-code or something like that?
> >> 
> >> _______________________________________________
> >> dev mailing list
> >> dev lists openshift redhat com
> >> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> >> 
> 


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