Closed kaleshas closed 3 years ago
Can you please use code blocks? It's literally a button on the code editor here. I can't understand what you're indicating. You can also send a pull request to fix it.
Closing, will continue the conversation in https://github.com/ahmetb/kubernetes-network-policy-recipes/pull/67
READ BEFORE YOU CREATE AN ISSUE: This issue tracker is specifically about the recipes listed in this repository. If you want to ask a general question about network policies or advice, DO NOT ask them here. Instead ask them on:
Mailing List: https://groups.google.com/d/forum/kubernetes-users
I think the below lines in the example 02a-allow-all-traffic-to-an-application.md should be corrected.
------existing---
Empty ingress rule ({}) allows traffic from all pods in the current namespace, as well as other namespaces. It corresponds to:
---- should be updated to -----
Empty ingress rule ({}) allows traffic from all pods in the current namespace, as well as other namespaces. It corresponds to:
The elements in the from should be an array:
kubectl explain NetworkPolicy.spec.ingress.from KIND: NetworkPolicy VERSION: networking.k8s.io/v1
RESOURCE: from <[]Object>