i have a need to use "use-regex" in azure application gateway

Ravi Sankar 0 Reputation points
2023-07-28T06:30:12.01+00:00

how should i implement the

annotations:
    nginx.ingress.kubernetes.io/use-regex: "true"
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,789 questions
{count} votes

1 answer

Sort by: Most helpful
  1. mutaz-msft 2,256 Reputation points Microsoft Employee
    2023-07-30T07:44:02.1033333+00:00

    Hi @Ravi Sankar
    Application gateway does not support regex; Application gateway only supports * at the end of the path.
    https://github.com/Azure/application-gateway-kubernetes-ingress/issues/1416#issuecomment-1185788051
    https://github.com/Azure/application-gateway-kubernetes-ingress/issues/1028#issuecomment-736209506

    Here is the list of supported annotations : https://azure.github.io/application-gateway-kubernetes-ingress/annotations/

    Hope it helps, and please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments