From 17b63a155c1634fda48e6d578de6ac2facb2c5ac Mon Sep 17 00:00:00 2001 From: Max Smythe Date: Thu, 6 Jun 2024 19:26:04 +0000 Subject: [PATCH] remove metadata var Signed-off-by: Max Smythe --- library/pod-security-policy/apparmor/template.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/library/pod-security-policy/apparmor/template.yaml b/library/pod-security-policy/apparmor/template.yaml index 7fc7d076e7..643aa7b2db 100644 --- a/library/pod-security-policy/apparmor/template.yaml +++ b/library/pod-security-policy/apparmor/template.yaml @@ -102,7 +102,6 @@ spec: import data.lib.exempt_container.is_exempt violation[{"msg": msg, "details": {}}] { - metadata := input.review.object.metadata container := input_containers[_] not is_exempt(container) not input_apparmor_allowed(input.review.object, container)