anilaws commented on issue #9509:
URL: https://github.com/apache/apisix/issues/9509#issuecomment-1650800117

   is there a way that i can achieve this using ingress controller?
   
   Created below route using ingress controller
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: test-route
   spec:
     http:
     - name: rule1
       match:
         paths:
         - /test/*
       upstreams:
       - name: test-upstream
       plugins:
         - name: proxy-rewrite
           enable: true 
           config:
             regex_uri:
               - "^/test(.*)"
               - "/$1"  
               
   trying to create tls using ingress controller
   
   apiVersion: apisix.apache.org/v2
   kind: ApisixTls
   metadata:
     name: apiqa-tls
   spec:
     hosts:
       - test.com
     secret:
       name: apiqa-server-secret
       namespace: test
     client:
       caSecret:
         name: apiqa-client-secret
         namespace: test
       depth: 10
       skip_mtls_uri_regex:
         - "/test.*"            
         
         
         getting error  error validating data: 
ValidationError(ApisixTls.spec.client): unknown field "skip_mtls_uri_regex" in 
org.apache.apisix.v2.ApisixTls.spec.client


-- 
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]

Reply via email to