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

nginx-specific annotations should say nginx #1436

Closed
thockin opened this issue Sep 28, 2017 · 5 comments · Fixed by #1662
Closed

nginx-specific annotations should say nginx #1436

thockin opened this issue Sep 28, 2017 · 5 comments · Fixed by #1662
Assignees

Comments

@thockin
Copy link
Member

thockin commented Sep 28, 2017

Example: ingress.kubernetes.io/rewrite-target is not a generic ingress option, and does not work on generic Ingress. That should have been nginx.com/rewrite-target or something.

This is confusing to people who read docs or examples. We should change the controller to support these, and fix all docs to use the new names. Obviously we still have to accept them.

@krallistic
Copy link

Other Ingress started to use this annotation as well: traefik/traefik#1723

What seen as the generic ingress? I always thought nginx was that... :)

@thockin
Copy link
Member Author

thockin commented Oct 2, 2017 via email

@krallistic
Copy link

I see.
One thing i like about ingress that they have the potential to (nginx, haproxy, traefik) by having common interface to all of them. route rewriting is imho one of the basic things almost everybody has to do. (But i can see that there a lot of other nginx specific annotations currently)

Maybe something like experimental.ingress... at the beginning. If other implementations dont use that term change to $impl.ingress.... (That way its not a define standard forced upon people, more like see what sticks..)

@thockin
Copy link
Member Author

thockin commented Oct 3, 2017 via email

@iamwilhelm
Copy link

To people searching for nginx.ingress.kubernetes.io/rewrite-target vs ingress.kubernetes.io/rewrite-target, I found I needed the former for it to work on GCE, and the latter for minikube.

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

Successfully merging a pull request may close this issue.

4 participants