-
Notifications
You must be signed in to change notification settings - Fork 32
fix: remove backend-ingress to resolve auth token routing conflict #296
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ resources: | |||||||
| - secrets.yaml | ||||||||
| - test-user.yaml | ||||||||
| - frontend-ingress.yaml | ||||||||
| - backend-ingress.yaml | ||||||||
| # backend-ingress.yaml removed - frontend handles all routing and proxies to backend internally | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Documentation Enhancement Suggestion Great explanatory comment! To make it even more helpful for future developers, consider adding a reference to where this architectural pattern is documented:
Suggested change
This helps developers understand where to look for the authentication/proxy implementation details. |
||||||||
| - operator-config.yaml | ||||||||
|
|
||||||||
| # Patches for e2e environment | ||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commenting out
backend-ingress.yamlfrom the e2e kustomization prevents new deployments from creating the ingress, bute2e/scripts/deploy.shstill useskubectl apply -kwithout--prune. Any cluster that previously deployed this overlay will keep the oldbackend-ingressresource, so/apirequests will continue to bypass the frontend and the “Invalid or missing token” problem remains. The fix only works on brand‑new clusters. Consider deleting the old ingress explicitly or switching to a pruned apply so existing environments also receive the change.Useful? React with 👍 / 👎.