azure-container-networking/npm/testpolicies/allow-all-from-app-backend....

14 строки
220 B
YAML

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-all-policy
namespace: testnamespace
spec:
policyTypes:
- Egress
podSelector:
matchLabels:
app: "backend"
egress:
- {}