Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Is it possible to simplify routes defination #489

Open
surajnarwade opened this issue Nov 27, 2017 · 5 comments
Open

Is it possible to simplify routes defination #489

surajnarwade opened this issue Nov 27, 2017 · 5 comments

Comments

@surajnarwade
Copy link
Collaborator

Can we simplify route defination,

Currently it looks like,

routes:
- name: httpd
  to:
    kind: Service
    name: httpd

Instead of that, something like this,

routes:
- name: httpd
  toService:
    name: httpd

Or maybe, simpler than this ?

@kadel
Copy link
Member

kadel commented Nov 27, 2017

It should be possible to do the same shortcut for Kubernetes

@cdrage
Copy link
Collaborator

cdrage commented Nov 27, 2017

@surajnarwade Good suggestion, I agree it's a bit messy ATM.

@surajssd
Copy link
Member

so this issue or RFE suggests a path that goes from

routes ---> service

the other issue #471 about creating shortcut takes a reverse path

service ---> route

@surajssd
Copy link
Member

What are we planning to implement?

@kadel
Copy link
Member

kadel commented Nov 28, 2017

Nothing is preventing us from having both.

We should look no how most of the ingresses/routes are defined.

#471 is nice and easy, but it doesn't allow you to specify any additional properties for ingres/route

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants