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

12 строки
218 B
YAML

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