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/05/12 06:08:23 UTC

[GitHub] [apisix-ingress-controller] shuoshadow edited a comment on issue #436: request help: annotations, k8s.apisix.apache.org/whitelist-source-range not work

shuoshadow edited a comment on issue #436:
URL: https://github.com/apache/apisix-ingress-controller/issues/436#issuecomment-839479400


   > ### Issue description
   > ![image](https://user-images.githubusercontent.com/10016360/117916459-c70cef00-b319-11eb-8e9b-dcdfe95a4bbe.png)
   > 
   > ![image](https://user-images.githubusercontent.com/10016360/117916555-f91e5100-b319-11eb-8459-cdbcbeb4f3b2.png)
   > 
   > i set the whitelist annotation, but i can still access the domain.
   > 
   > ### Environment
   > Version: 0.5.0
   > Git SHA:
   > Go Version: go1.13.8
   > Building OS/Arch: linux/amd64
   > Running OS/Arch: linux/amd64
   > 
   > Client Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.8-aliyun.1", GitCommit:"d2f5a0f", GitTreeState:"", BuildDate:"2020-11-17T03:28:04Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   > Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.8-aliyun.1", GitCommit:"5959bcb", GitTreeState:"", BuildDate:"2021-03-11T11:16:47Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   
   
   
   > @shuoshadow That's a known bug, we will add it to the ingress resource, for the ApisixRoute, you can just configure the `remoteAddrs` field, see http://apisix.apache.org/docs/ingress-controller/references/apisix_route_v2alpha1 (there is a typo that `remoteAddrs` was written as `remote_addrs`).
   
   I configure the field, but the return code is 404, is that right?
   ![image](https://user-images.githubusercontent.com/10016360/117926216-ff68f900-b32a-11eb-8ba5-708175904b87.png)
   ![image](https://user-images.githubusercontent.com/10016360/117926139-dea0a380-b32a-11eb-9c50-73bca38f97f6.png)
   ![image](https://user-images.githubusercontent.com/10016360/117926491-730b0600-b32b-11eb-919f-f05533ea4a34.png)
   


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

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