Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(router): make platform domain configurable #23

Merged
merged 1 commit into from
Dec 8, 2015
Merged

feat(router): make platform domain configurable #23

merged 1 commit into from
Dec 8, 2015

Conversation

krancour
Copy link
Contributor

@krancour krancour commented Dec 8, 2015

Before this PR, routable services could be annotated with a list of domains, but that meant if someone wanted to change their "platform domain," every routable service would require its annotations to be updated-- no bueno.

This PR allows the platform domain (e.g. example.com) to be configured at the router level and any "domains" defined on a routable application that do not contain any periods will be assumed to be subdomains of the platform domain when the router builds its configuration model.

@mboersma
Copy link
Member

mboersma commented Dec 8, 2015

This LGTM, but I wish there were a model_test.go with friends. 💚

@arschles
Copy link
Member

arschles commented Dec 8, 2015

+1 to @mboersma. added #25 but not blocking this PR - gave LGTM

@krancour
Copy link
Contributor Author

krancour commented Dec 8, 2015

@mboersma there will be. I'm in a race for feature parity with 1.x to avoid blocking any other end-to-end testing. I still intend to backfill tests pre-alpha.

krancour added a commit that referenced this pull request Dec 8, 2015
feat(router): make platform domain configurable
@krancour krancour merged commit dcb4278 into deis:master Dec 8, 2015
@krancour krancour deleted the make-domain-configurable branch February 3, 2016 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants