traefik / mesh

Traefik Mesh - Simpler Service Mesh
https://traefik.io/traefik-mesh
Apache License 2.0
2.02k stars 141 forks source link

Traffic should be denied if TrafficTarget has no rules #747

Closed kevinpollet closed 3 years ago

kevinpollet commented 3 years ago

Bug Report

What did you do?

Deployed a TrafficTarget without rules.

Here is the deployed application: traffic-access.zip.

What did you expect to see?

As explained in the traffic-access specification traffic should be denied.

Any pod which attempts to connect and is not in the defined list of sources will be denied. Any pod which is in the defined list but attempts to connect on a route which is not in the list of TrafficSpecs will be denied.

What did you see instead?

Traffic is allowed.