I\'ve a simple kubernetes ingress network.
I need deny the access some critical paths like /admin or etc.
My ingress network file shown as below.
<
You can use server-snippet annotation. This seems like exactly what you want to achieve.