From c96b844f07fbf6371a02a60907cac529ac2c9b51 Mon Sep 17 00:00:00 2001 From: Indrranil Pawar <112892653+Indrranil@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:04:38 +0530 Subject: [PATCH] added validationAction : Enforce Signed-off-by: Indrranil Pawar <112892653+Indrranil@users.noreply.github.com> --- .../disallow-latest-tag/.chainsaw-test/chainsaw-test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/best-practices/disallow-latest-tag/.chainsaw-test/chainsaw-test.yaml b/best-practices/disallow-latest-tag/.chainsaw-test/chainsaw-test.yaml index 6557dfba3..29c1e625a 100755 --- a/best-practices/disallow-latest-tag/.chainsaw-test/chainsaw-test.yaml +++ b/best-practices/disallow-latest-tag/.chainsaw-test/chainsaw-test.yaml @@ -25,6 +25,7 @@ spec: kinds: - Pod validate: + failureAction: Enforce message: "Container images must have a tag specified" pattern: spec: @@ -37,6 +38,7 @@ spec: kinds: - Pod validate: + failureAction: Enforce message: "Images must have a specific tag" pattern: spec: