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

annotation permanent-redirect do not support '%20' #245

Open
TomBalt opened this issue Jul 2, 2024 · 2 comments
Open

annotation permanent-redirect do not support '%20' #245

TomBalt opened this issue Jul 2, 2024 · 2 comments

Comments

@TomBalt
Copy link

TomBalt commented Jul 2, 2024

Hello Y'all,

We were migrating from on-prem K8s to AKS. As we started to use "Managed NGINX ingress with the application routing add-on" we ran in to some issues with annotation validation.

For example:
if I set permanent-redirect value to something that contains '%20' I receive and error - validators.go:237] validation error on ingress prod-ns/redirect-org: annotation permanent-redirect contains invalid value https://super-site.sharepoint.com/sites/teams/IT/devops123/IT%20OPS

This is real example:

nginx.ingress.kubernetes.io/permanent-redirect: https://super-site.sharepoint.com/sites/teams/IT/devops123/IT%20OPS

Questions:

  1. Is there a way to make it work?
  2. If not, can annotation validation be disabled for Managed Nginx ingress?

P.S. I have used this article to setup Nginx ingress class and ingress controller - https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration
P.S.S. Old version of nginx installed from Helm works fine.

@OliverMKing
Copy link
Collaborator

OliverMKing commented Jul 10, 2024

Where on you seeing this error?

We shouldn't be doing anything on our end to block this. I wonder if it's a yaml syntax thing.

@TomBalt
Copy link
Author

TomBalt commented Jul 10, 2024 via email

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

2 participants