-
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 /wlmdb(.*) cannot be used with pathType Prefix #10281
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. |
@salfand1 I think this warning is a expected behaviour.
For you case, just use simple path: |
@salfand1 come from this PR #9967 @rikatz Do you think we need to update the document for this? I see many guide use pathType prefix with special characters for regex |
@sonbui00 sure, we need to update the documents. /kind document |
@tao12345666333: The label(s) In response to this:
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. |
So can I use ImplementationSpecific instead of Prefix? |
@salfand1 for special character, you should use ImplementationSpecific . You can check more on FAQ here https://kubernetes.github.io/ingress-nginx/faq/#validation-of-path |
/assign |
nginx ingress rule path as follows:
host: {{ .Values.global.bluexpDomain }}
http:
paths:
- path: /wlmdb(.*)
pathType: Prefix
I got the below warning:
Warning: path /wlmdb(.*) cannot be used with pathType Prefix
even though I added the below annotation:
nginx.ingress.kubernetes.io/use-regex: "true"
The text was updated successfully, but these errors were encountered: