Specifying a Default Domain for an Org


Stephen Byers <smbyers@...>
 

I have a shared domain that spans all orgs and is currently the default domain used when I push an app. I have created a private domain in an org that is specific for, say, integration. Is there a way to set the private domain of a particular org to the default one that is used when none is specified in the manifest? This would allows us to use the same manifest but push to one org for a sandbox/dev area and another org from the CI pipeline without having host collisions in the same Cloud Foundry installation.

If there is another way I should be thinking about this, that is welcome also.

Thanks in advance.


Dieu Cao <dcao@...>
 

There's not currently a way to do this.
The cf CLI actually chooses the default shared domain simply be being the
first in the list.
I've often thought about allowing an Org Manager/Space Manager to specify a
preferred default domain for the Org/Space.
This would of course require changes for the cf CLI and other clients to
respect that selction.
If you are very interested in this feature, I think a PR for this type of
enhancement would be fine.

-Dieu
CF CAPI PM

On Fri, Feb 19, 2016 at 11:33 AM, Stephen Byers <smbyers(a)gmail.com> wrote:

I have a shared domain that spans all orgs and is currently the default
domain used when I push an app. I have created a private domain in an org
that is specific for, say, integration. Is there a way to set the private
domain of a particular org to the default one that is used when none is
specified in the manifest? This would allows us to use the same manifest
but push to one org for a sandbox/dev area and another org from the CI
pipeline without having host collisions in the same Cloud Foundry
installation.

If there is another way I should be thinking about this, that is welcome
also.

Thanks in advance.


Carlo Alberto Ferraris
 

We’d be very interested in seeing this feature implemented (and its extension to placement pools, i.e. the ability to specify a default placement pool for a org/space)

Carlo

On Feb 20, 2016, at 5:03 AM, Dieu Cao <dcao@...> wrote:

There's not currently a way to do this.
The cf CLI actually chooses the default shared domain simply be being the first in the list.
I've often thought about allowing an Org Manager/Space Manager to specify a preferred default domain for the Org/Space.
This would of course require changes for the cf CLI and other clients to respect that selction.
If you are very interested in this feature, I think a PR for this type of enhancement would be fine.

-Dieu
CF CAPI PM

On Fri, Feb 19, 2016 at 11:33 AM, Stephen Byers <smbyers@...> wrote:
I have a shared domain that spans all orgs and is currently the default domain used when I push an app.  I have created a private domain in an org that is specific for, say, integration.  Is there a way to set the private domain of a particular org to the default one that is used when none is specified in the manifest?  This would allows us to use the same manifest but push to one org for a sandbox/dev area and another org from the CI pipeline without having host collisions in the same Cloud Foundry installation.

If there is another way I should be thinking about this, that is welcome also.

Thanks in advance.



Carlo Alberto Ferraris
 

We’d be very interested in seeing this feature implemented (and its extension to placement pools, i.e. the ability to specify a default placement pool for a org/space)

Carlo


Gwenn Etourneau
 

You mean Elastic Cluster and not placement pool ?


On Mon, Feb 22, 2016 at 11:47 AM, Carlo Alberto Ferraris <
carlo.ferraris(a)rakuten.com> wrote:

We’d be very interested in seeing this feature implemented (and its
extension to placement pools, i.e. the ability to specify a default
placement pool for a org/space)

Carlo


David Illsley <davidillsley@...>
 

Having just looked at route services, it might also be useful to have the
ability to specify --no-route as the default for cf push. That would reduce
the chance that you push and directly expose an app which should have an
auth or other protective service bound to its route.

On Fri, Feb 19, 2016 at 8:03 PM, Dieu Cao <dcao(a)pivotal.io> wrote:

There's not currently a way to do this.
The cf CLI actually chooses the default shared domain simply be being the
first in the list.
I've often thought about allowing an Org Manager/Space Manager to specify
a preferred default domain for the Org/Space.
This would of course require changes for the cf CLI and other clients to
respect that selction.
If you are very interested in this feature, I think a PR for this type of
enhancement would be fine.

-Dieu
CF CAPI PM

On Fri, Feb 19, 2016 at 11:33 AM, Stephen Byers <smbyers(a)gmail.com> wrote:

I have a shared domain that spans all orgs and is currently the default
domain used when I push an app. I have created a private domain in an org
that is specific for, say, integration. Is there a way to set the private
domain of a particular org to the default one that is used when none is
specified in the manifest? This would allows us to use the same manifest
but push to one org for a sandbox/dev area and another org from the CI
pipeline without having host collisions in the same Cloud Foundry
installation.

If there is another way I should be thinking about this, that is welcome
also.

Thanks in advance.