redhat-openshift-ecosystemredhat-openshift-ecosystemOfficialยท2 Agent Skills Included

openshift-preflight

Validates containers and operators for Red Hat certification

Validates container images and operator bundles against Red Hat Software Certification policies before submission. Diagnoses check failures like missing licenses, non-root users, invalid bundle structure, and OLM deployment errors. Guides registry authentication, index image builds, offline testing, and result submission to Partner Connect.
npx skills add redhat-openshift-ecosystem/openshift-preflight --all -g -y
Available:

Gives your AI agent the build, test, lint, and code-style rules it needs to safely modify and verify code in this Go repository.

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install openshift-preflight?โ–ผ

Run `npx skills add redhat-openshift-ecosystem/openshift-preflight --all -g -y` in your terminal to install all skills in this suite globally.

How to validate a container for Red Hat certification?โ–ผ

Run `preflight check container <image>` against your published image, then review artifacts/results.json for pass/fail details on checks like HasLicense, BasedOnUbi, and RunsAsNonroot.

How to validate an OpenShift operator bundle?โ–ผ

Build an index image with opm, set KUBECONFIG and PFLT_INDEXIMAGE, then run `preflight check operator <bundle>` to test OLM deployment and bundle structure.

How to fix preflight check failures?โ–ผ

Re-run with --loglevel=debug, inspect artifacts/results.json for the failing check's message, and fix issues like missing license files, root users, or incomplete relatedImages.

Can I use preflight without coding experience?โ–ผ

Yes. Once installed, your AI agent can run the validation commands, interpret failures, and suggest fixes based on your plain-English requests.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’