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

Support for Regex in Paths #782

Closed
falitjain opened this issue Dec 5, 2019 · 2 comments
Closed

Support for Regex in Paths #782

falitjain opened this issue Dec 5, 2019 · 2 comments
Labels
question An issue asking a question

Comments

@falitjain
Copy link

Hi,
Does the ingress controller has now support for regex in paths?
#20 is the same request, but in OPEN state, was it developed and and if yes:

  • Does it require any annotation
  • Which version was it introduced?
@pleshakov pleshakov added the question An issue asking a question label Dec 5, 2019
@pleshakov
Copy link
Contributor

hi @falitjain

We don't support regex in Ingress resources.

However, we recently added support for regex to our VirtualServer/VirtualServerRoute resources. Here is an example:

  - path: ~ ^/decaf/.*\\.jpg$
    action:
      pass: coffee

This feature will be available in 1.6.0 release, which is planned for the middle of December. Currently, it is already available in the edge version -- https://github.com/nginxinc/kubernetes-ingress/#nginx-ingress-controller-releases

@Dean-Coakley
Copy link
Contributor

Dean-Coakley commented Aug 25, 2020

Added support in: #766 when using VirtualServer/VirtualServerRoute resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question An issue asking a question
Projects
None yet
Development

No branches or pull requests

3 participants