-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Warning: path /v1.0/ cannot be used with pathType Prefix #10308
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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. |
dots in path not working is not a bug as per the data in this issue. lets wait for comments and data that proves that dots should work in path and then change the labels on this. thanks /remove-kind bug |
@Marat-Gumerov you can check FAQ here https://kubernetes.github.io/ingress-nginx/faq/#validation-of-path |
/assign |
Is it possible to make the ingress-nginx warning message more specific and detailed? When i met this issue in my setup it took me way to long to find the explanation, honestly i found the answer by searching for the warning message in ingress-nginx source code, which is quite too much i guess. Would be nice if you guys put some brief explanation or/and a link to a document in the warning message. |
@shoce it was explained in the PR that implemented validations for that key and also in releasenotes |
What happened:
Warning: path /v1.0/ cannot be used with pathType Prefix
What you expected to happen:
No warning
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
uname -a
): Linux marat-TM1701 6.2.0-27-generic Relax lint checks #28-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 12 22:39:51 UTC 2023 x86_64 x86_64 x86_64 GNU/Linuxkubectl get nodes -o wide
minikube addons enable ingress
kubectl describe ingressclasses
How to reproduce this issue:
minikube addons enable ingress
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/docs/examples/http-svc.yaml
kubectl apply -f ingress.yml
Anything else we need to know:
As I can see from this response, dots are not allowed in path prefixes.
The text was updated successfully, but these errors were encountered: