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

Move portal at the end of the ingress paths #1132

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

sathieu
Copy link
Contributor

@sathieu sathieu commented Jan 12, 2022

According to the ingress specification 1, the longest matching path should
be used. But for Istio, "The first rule matching an incoming request is
used" 2,3.

Fixes: #485
Signed-off-by: Mathieu Parent [email protected]

According to the ingress specification [1], the longest matching path should
be used. But for Istio, "The first rule matching an incoming request is
used" [2,3].

[1]: https://kubernetes.io/docs/concepts/services-networking/ingress/#multiple-matches
[2]: https://istio.io/latest/docs/reference/config/networking/virtual-service/#VirtualService
[3]: istio/istio#35033

Fixes: goharbor#485
Signed-off-by: Mathieu Parent <[email protected]>
@sathieu
Copy link
Contributor Author

sathieu commented Jan 13, 2022

@ywk253100 @reasonerjt @ninjadq Please review 🙏 .

This fixes #485 for Istio (and maybe others).

@sathieu
Copy link
Contributor Author

sathieu commented Feb 2, 2022

@zyyw Please review 🙏.

Copy link
Collaborator

@zyyw zyyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zyyw zyyw self-assigned this Mar 2, 2022
@zyyw zyyw closed this Mar 2, 2022
@zyyw zyyw reopened this Mar 2, 2022
@ywk253100 ywk253100 merged commit 10eae81 into goharbor:master Mar 2, 2022
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.

405 error when logging into portal
3 participants