Use IP range in Allowed hosts filter

We are running our application on a Kubernetes cluster. Whenever we have to update the nodes we create a new node pool and move the application over to reduce downtimes.
Any node in the cluster gets an IP from a defined network. Instead of defining every (new) IP in the allowed hosts filter I would rather prefer to define the node’s network in CIDR notation, e.g. 192.168.10.0/21 (or any equivalent thereof).
Is there a way of allowing access to our application from the given network without having to define every single IP?