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

ingress file outdated #6

Open
yoadwo opened this issue Nov 17, 2023 · 0 comments
Open

ingress file outdated #6

yoadwo opened this issue Nov 17, 2023 · 0 comments

Comments

@yoadwo
Copy link

yoadwo commented Nov 17, 2023

Is it possible to update the yaml file for the Ingress?
it is quite outdated, and as such I could not complete the tutorial

  1. The annotation kubernetes.io/ingress.class: nginx is now replaced with spec.ingressClassName: nginx
  2. Using regex for paths now requires the annotation nginx.ingress.kubernetes.io/use-regex: "true", and using a different path type: ImplementationSpecific
  3. I suspect the rewrite target should be changed to $2 but not sure

After applying these, I could get the backend to respond, but the frontend didn't. getting error "Uncaught SyntaxError: Unexpected token '<". Not sure why is that, maybe the server sending incorrect response to browser.
When applying rewrite rule "/" it was the opposite - frontend worked but backend didn't. Not sure if this is related to above issue or just me missing something.

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

No branches or pull requests

1 participant