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 2022/05/27 05:22:19 UTC

[GitHub] [apisix-ingress-controller] ddlinlin opened a new issue, #1048: request help: annotations about whitelist doesn't take effort

ddlinlin opened a new issue, #1048:
URL: https://github.com/apache/apisix-ingress-controller/issues/1048

   ### Issue description
   
   I set a route with ip-restriction via annotations like:
   
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixRoute
   metadata:
     name: apisix-route
     namespace: apisix
     annotations:
       k8s.apisix.apache.org/whitelist-source-range: 123.123.123.123
   spec:
     http:
     - name: stg-admin
       match:
         hosts:
         - test.com.cn
         paths:
         - "/test/*"
    backends:
        - serviceName: test-svc
          servicePort: 8060
          resolveGranularity: service
   ----
   ip-restriction does not take effort.
   but it works when i update the yaml file like:
   
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixRoute
   metadata:
     name: apisix-route
     namespace: apisix
     annotations:
       k8s.apisix.apache.org/whitelist-source-range: 123.123.123.123
   spec:
     http:
     - name: stg-admin
       match:
         hosts:
         - test.com.cn
         paths:
         - "/test/*"
    backends:
        - serviceName: test-svc
          servicePort: 8060
          resolveGranularity: service
    plugins:
    -  name:   ip-restriction
       enable:  true
       config:
           whitelist:
            - "123.123.123.123"
    --------
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): apache/apisix-ingress-controller:1.4.0
   - your Kubernetes cluster version (output of kubectl version): 1.20.11
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
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.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1048: request help: annotations about whitelist doesn't take effort

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1048:
URL: https://github.com/apache/apisix-ingress-controller/issues/1048#issuecomment-1231039648

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1048: request help: annotations about whitelist doesn't take effort

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1048:
URL: https://github.com/apache/apisix-ingress-controller/issues/1048#issuecomment-1141915883

   For the current APISIX Ingress implementation,
   Annotation is used by Ingress resources.
   The ApisixRoute resource can directly use the plugin to complete specific functions


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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1048: request help: annotations about whitelist doesn't take effort

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1048:
URL: https://github.com/apache/apisix-ingress-controller/issues/1048#issuecomment-1263001281

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1048: request help: annotations about whitelist doesn't take effort

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1048: request help:  annotations about whitelist doesn't take effort
URL: https://github.com/apache/apisix-ingress-controller/issues/1048


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