Yes, that's correct. You will need to update old routes. The rational is that it is a default value not something that is enforced.
Regards, Frédéric On Fri, May 4, 2018 at 6:55 PM, Dave Neary <dne...@redhat.com> wrote: > Thanks - that answers my question. It will work on new routes, but not > old routes - correct? > > Thanks, > Dave. > > On 05/04/2018 12:52 PM, Frederic Giloux wrote: > > Hi Dave, > > > > the variable was renamed with 3.2: > > https://docs.openshift.com/enterprise/3.2/install_config/ > revhistory_install_config.html#thu-may-12-2016 > > after running ansible you can check > > /etc/origin/master/master-config.yaml you should have these lines with > > your value: > > routingConfig: > > subdomain: apps.sandbox.com <http://apps.sandbox.com> > > > > The master services need to be restarted afterwards: > > systemctl restart atomic-openshift-master-api > > systemctl restart atomic-openshift-master-controllers > > I don't know where it can be checked apart from creating a new route. I > > gave it a try on my cluster (OCP 3.9 not origin) and it worked right > > away with an existing project. > > > > Regards, > > > > Frédéric > > > > > > On Fri, May 4, 2018 at 6:07 PM, Dave Neary <dne...@redhat.com > > <mailto:dne...@redhat.com>> wrote: > > > > Thanks Frederic, > > > > I did this, but the routing suffix still gives the old answer for > > existing projects - is this expected, or did I do something wrong? > > > > Also: I think that in openshift-ansible that the config file is set > in > > roles/openshift_facts/defaults/main.yml as 'osm_default_subdomain' > - is > > this right? > > > > How can I find out what the currently active set value is (just to > check > > that the change I made in the config file has been taken into > > consideration)? > > > > Thanks, > > Dave. > > > > On 05/04/2018 12:43 AM, Frederic Giloux wrote: > > > Hi Dave, > > > > > > you can change the suffix at the mater level (you will need to > restart > > > the master services): > > > https://docs.openshift.org/latest/install_config/router/ > default_haproxy_router.html#customizing-the-default-routing-subdomain > > <https://docs.openshift.org/latest/install_config/router/ > default_haproxy_router.html#customizing-the-default-routing-subdomain> > > > This can be set with ansible by using the variable > > > openshift_master_default_subdomain in the inventory. > > > It is also possible to override this setting by specifying the > hostname > > > at the route level. > > > > > > Regards, > > > > > > Frédéric > > > > > > On Fri, May 4, 2018 at 12:19 AM, Dave Neary <dne...@redhat.com > <mailto:dne...@redhat.com> > > > <mailto:dne...@redhat.com <mailto:dne...@redhat.com>>> wrote: > > > > > > Hi, > > > > > > When I set up OpenShift Origin, I left the default routing > suffix > > > .router.default.svc.cluster.local (figured if it needed > > changing, I'd > > > find out sooner or later and be able to change it). > > > > > > Now I need to change it to have my app work, and I'm unclear > > what the > > > best way to do that is - is this a per-project thing, or > > something that > > > is set at the OpenShift level? Is it a config file I need to > > change and > > > restart Origin, or is this something I dynamically change from > the > > > command line? > > > > > > I found this page, which talks about changing the option in > > run-time > > > with minishift, but I used openshift-ansible, so I'm not sure > > it I can > > > do this with oc. > > > > > https://docs.openshift.org/latest/minishift/openshift/ > openshift-client-binary.html > > <https://docs.openshift.org/latest/minishift/openshift/ > openshift-client-binary.html> > > > > > <https://docs.openshift.org/latest/minishift/openshift/ > openshift-client-binary.html > > <https://docs.openshift.org/latest/minishift/openshift/ > openshift-client-binary.html>> > > > > > > Thanks, > > > Dave. > > > > > > > > > -- > > > Dave Neary - Open Source and Standards team > > > Red Hat - http://community.redhat.com > > > Ph: +1-978-399-2182 / Cell: +1-978-799-3338 > > > > > > _______________________________________________ > > > users mailing list > > > users@lists.openshift.redhat.com > > <mailto:users@lists.openshift.redhat.com> > > > <mailto:users@lists.openshift.redhat.com > > <mailto:users@lists.openshift.redhat.com>> > > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > <http://lists.openshift.redhat.com/openshiftmm/listinfo/users> > > > <http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > <http://lists.openshift.redhat.com/openshiftmm/listinfo/users>> > > > > > > > > > > > > > > > -- > > > *Frédéric Giloux* > > > Principal App Dev Consultant > > > Red Hat Germany > > > > > > fgil...@redhat.com <mailto:fgil...@redhat.com> > > <mailto:fgil...@redhat.com <mailto:fgil...@redhat.com>> M: > > +49-174-172-4661 > > > <tel:+49-174-172-4661> > > > > > > redhat.com <http://redhat.com> <http://edhat.com> | TRIED. TESTED. > > TRUSTED. | > > > redhat.com/trusted <http://redhat.com/trusted> > > <http://redhat.com/trusted> > > > ____________________________________________________________ > ____________ > > > Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn, > > > Handelsregister: Amtsgericht München, HRB 153243 > > > Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, > > > Michael O'Neill > > > > -- > > Dave Neary - Open Source and Standards team > > Red Hat - http://community.redhat.com > > Ph: +1-978-399-2182 / Cell: +1-978-799-3338 > > > > > > > > > > -- > > *Frédéric Giloux* > > Principal App Dev Consultant > > Red Hat Germany > > > > fgil...@redhat.com <mailto:fgil...@redhat.com> M: +49-174-172-4661 > > <tel:+49-174-172-4661> > > > > redhat.com <http://edhat.com> | TRIED. TESTED. TRUSTED. | > > redhat.com/trusted <http://redhat.com/trusted> > > ________________________________________________________________________ > > Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn, > > Handelsregister: Amtsgericht München, HRB 153243 > > Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, > > Michael O'Neill > > -- > Dave Neary - Open Source and Standards team > Red Hat - http://community.redhat.com > Ph: +1-978-399-2182 / Cell: +1-978-799-3338 > -- *Frédéric Giloux* Principal App Dev Consultant Red Hat Germany fgil...@redhat.com M: +49-174-172-4661 redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted ________________________________________________________________________ Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn, Handelsregister: Amtsgericht München, HRB 153243 Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users