The cidr_to_ip_and_subnet_mask function serves as a versatile tool for converting IP addresses represented in CIDR (Classless Inter-Domain Routing) notation into their corresponding start and end IPs, ...
I want to configure allowed ingress for loki metrics endpoint from a certain namespace. Unfortunately, a cidr range needs to be defined to be able to specify a namespace selector: ...