diff --git a/nginx-governance/networkpolicy.yaml b/nginx-governance/networkpolicy.yaml new file mode 100644 index 0000000..87b37bc --- /dev/null +++ b/nginx-governance/networkpolicy.yaml @@ -0,0 +1,16 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-traefik-ingress +spec: + podSelector: + matchLabels: + app: nginx + policyTypes: + - Ingress + ingress: + - from: + - namespaceSelector: {} + ports: + - protocol: TCP + port: 80 \ No newline at end of file