From 9ec4c112785f2e31040e013c038d4f2553248717 Mon Sep 17 00:00:00 2001 From: "Adam D. Cornett" Date: Thu, 22 Feb 2024 14:34:26 -0700 Subject: [PATCH] moving RequiredAnnotations check to LevelBest so that it is enforced. Signed-off-by: Adam D. Cornett --- internal/policy/operator/required_annotations.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/policy/operator/required_annotations.go b/internal/policy/operator/required_annotations.go index b116a5b2..cf6b404a 100644 --- a/internal/policy/operator/required_annotations.go +++ b/internal/policy/operator/required_annotations.go @@ -86,9 +86,8 @@ func (h RequiredAnnotations) Name() string { func (h RequiredAnnotations) Metadata() check.Metadata { return check.Metadata{ - Description: "Checks that the CSV has all of the required feature annotations.", - // TODO: This will start as warn, but will need to move to `best` - Level: check.LevelWarn, + Description: "Checks that the CSV has all of the required feature annotations.", + Level: check.LevelBest, KnowledgeBaseURL: "https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html-single/red_hat_openshift_software_certification_policy_guide/index#con-operator-requirements_openshift-sw-cert-policy-products-managed", CheckURL: "https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html-single/red_hat_openshift_software_certification_policy_guide/index#con-operator-requirements_openshift-sw-cert-policy-products-managed", }