From e0097c0fb746a486c57fa6ccdd07634583c6abb6 Mon Sep 17 00:00:00 2001 From: Jim Bugwadia Date: Sun, 10 Nov 2019 16:12:47 -0800 Subject: [PATCH] use negation anchor --- samples/best_practices/disallow_host_network_hostport.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/best_practices/disallow_host_network_hostport.yaml b/samples/best_practices/disallow_host_network_hostport.yaml index 3ede361548..9b9dd169ee 100644 --- a/samples/best_practices/disallow_host_network_hostport.yaml +++ b/samples/best_practices/disallow_host_network_hostport.yaml @@ -30,4 +30,4 @@ spec: containers: - name: "*" =(ports): - - hostPort: null \ No newline at end of file + - X(hostPort): null