Skip to content

Commit

Permalink
moving RequiredAnnotations check to LevelBest so that it is enforced.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam D. Cornett <adc@redhat.com>
  • Loading branch information
acornett21 committed Feb 26, 2024
1 parent 3f92c0b commit 9ec4c11
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/policy/operator/required_annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit 9ec4c11

Please sign in to comment.