From 2e5c26e31e8b6f511db8bf8f08594b61d7511127 Mon Sep 17 00:00:00 2001 From: Chip Zoller Date: Thu, 12 Nov 2020 09:50:12 -0500 Subject: [PATCH] fix snippet in MD --- samples/AddDefaultNetworkPolicy.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/samples/AddDefaultNetworkPolicy.md b/samples/AddDefaultNetworkPolicy.md index 00dd957c91..2f74d2a8d5 100644 --- a/samples/AddDefaultNetworkPolicy.md +++ b/samples/AddDefaultNetworkPolicy.md @@ -22,11 +22,12 @@ spec: - Namespace name: "*" exclude: - namespaces: - - "kube-system" - - "default" - - "kube-public" - - "kyverno" + resources: + namespaces: + - "kube-system" + - "default" + - "kube-public" + - "kyverno" generate: kind: NetworkPolicy name: default-deny-ingress