You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/11 09:16:59 UTC

[GitHub] [apisix-dashboard] suninuni commented on issue #2057: Make sure validate rules in Apisix Dashboard is same as Apisix api

suninuni commented on issue #2057:
URL: https://github.com/apache/apisix-dashboard/issues/2057#issuecomment-896650925


   > Can you provide a CRD used k8s defintion yaml file that hides key information?
   
   ```
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
     name: httpd
   spec:
     http:
     - name: global/
       match:
         hosts:
         - httpd.com
         paths:
         - /*
       backend:
         serviceName: httpd
         servicePort: 80
       plugins:
       - name: limit-count
         enable: true
         config:
           count: 5
           time_window: 60
           disable: false
           key: http_x_account_id
           policy: local
           rejected_code: 429
   ```
   
   Apisix version: 2.7
   
   > Here, several available values are specified by enumeration. But, in k8s ingress controller, you may be allowed to set values freely.
   
   Yes, but this behavior confused me a lot. In my opinion, these verification rules should be executed by Apisix admin, and dashboard only catch those errors from Apisix admin and show them in form.
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org