Loadbalancer-rancher
go to
Service Discovery -> Ingresses
Edit
Select Add annotations
Whitelist
To allow only the RUG IP or range to the deployment you can use the folowing annotation :
Save & Done
For more examples see :
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/