Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
This repository was archived by the owner on May 6, 2025. It is now read-only.

Validate container with Preflight check container #163

@rocrisp

Description

@rocrisp

preflight check container quay.io/opdev/l5-operator:v0.0.2

"failed": [
{
"name": "HasRequiredLabel",
"elapsed_time": 0,
"description": "Checking if the required labels (name, vendor, version, release, summary, description) are present in the container metadata.",
"help": "Check Check HasRequiredLabel encountered an error. Please review the preflight.log file for more information.",
"suggestion": "Add the following labels to your Dockerfile or Containerfile: name, vendor, version, release, summary, description",
"knowledgebase_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction",
"check_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction"
},
{
"name": "BasedOnUbi",
"elapsed_time": 955,
"description": "Checking if the container's base image is based upon the Red Hat Universal Base Image (UBI)",
"help": "Check BasedOnUbi encountered an error. Please review the preflight.log file for more information.",
"suggestion": "Change the FROM directive in your Dockerfile or Containerfile to FROM registry.access.redhat.com/ubi8/ubi",
"knowledgebase_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction",
"check_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction"
},
{
"name": "HasLicense",
"elapsed_time": 0,
"description": "Checking if terms and conditions applicable to the software including open source licensing information are present. The license must be at /licenses",
"help": "Check HasLicense encountered an error. Please review the preflight.log file for more information.",
"suggestion": "Create a directory named /licenses and include all relevant licensing and/or terms and conditions as text file(s) in that directory.",
"knowledgebase_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction",
"check_url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction"
}
],
"errors": [
{
"name": "HasNoProhibitedPackages",
"elapsed_time": 0,
"description": "Checks to ensure that the image in use does not include prohibited packages, such as Red Hat Enterprise Linux (RHEL) kernel packages.",
"help": "Check HasNoProhibitedPackages encountered an error. Please review the preflight.log file for more information."
},
{
"name": "HasModifiedFiles",
"elapsed_time": 0,
"description": "Checks that no files installed via RPM in the base Red Hat layer have been modified",
"help": "Check HasModifiedFiles encountered an error. Please review the preflight.log file for more information."
}
]
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions