-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Feature request: ability to specify multiple aliases for different ingresses #3394
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hello,
Currently i have a multiple ingresses on same domain but different paths. For example.
Ingress1:
domain.com/blah
Ingress2:
domain.com/blahblah
They route to different services. We want to be able to individually set aliases for them via annotation:
nginx.ingress.kubernetes.io/server-alias: domain2.com domain3.com
Unfortunately it doesn't look like nginx ingress supports this. When i setup the above alias for Ingress1 AND Ingress2 (the same aliases) and then try to modify Ingress2 to add another alias domain4.com, nginx skips over it with:
Aliases already configured for server "domain.com", skipping (Ingress "dev/Ingress2")
Not sure if that's intentional, but it seems counter-intuitive to allow aliases in annotations because one would expect that you can mix and match so to speak.
The text was updated successfully, but these errors were encountered: