john1337 commented on issue #2681:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2681#issuecomment-3677195010
my k8s cluster version is 1.22.x,can ingress 2.0 work with it if i dont't
use gateway(a new feature in k8s),what if i just use ingress,use ingress yaml
such as
kind: Ingress
annotations:
k8s.apisix.apache.org/rewrite-target-regex: /test(/|$)(.*)
k8s.apisix.apache.org/rewrite-target-regex-template: /$2
k8s.apisix.apache.org/use-regex: 'true'
meta.helm.sh/release-name: xx-cor
spec:
ingressClassName: apisix
rules:
- http:
paths:
- path: /test(/|$)(.*)
pathType: Prefix
backend:
service:
name: xxx
port:
number: 80
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]