I have an nginx app set up as load balancer in my k8s infrastructure and I want to block access to it by server ip.
I have assigned to it a public IP address that I used to set up all the DNS entries that I needed, but the service is still accessible by plain IP address.
Is there a k8s way of blocking access that is not behind a domain name?