Network policies query

Hi

I am trying to allow production namespace to access to default namespace svc only using the below definition but before I apply the policy I am able to connect to port 80
Appreciate it if you can advise me is there any wrong on my definition file
Thank you

Hello vince,

your networkpolicy yaml file is correct as it allows traffic from production namespace to all pods in the default namespace

Thanks
KodeKloud Support