azure-container-networking/npm/testpolicies/deny-all-to-app-frontend.yaml

12 строки
203 B
YAML

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