Skip to content

stackrox/operator-index

Repository files navigation

ACS Operator Index

This repository is for building the ACS (downstream) operator indexes on Konflux.

Restarting Konflux job

Comment in the PR /test <job_name> (e.g. /test operator-index-ocp-v4-16-on-push). See more in our docs.

Updating catalogs

Followed this and this doc:

make clean && make valid-catalogs

Release operator catalog

  1. Make sure you logged in to the Konflux cluster.
  2. Make sure you checked out the latest master branch: git checkout master && git pull
  3. Generate Release CR by running ./scripts/generate-releases.sh <staging|prod> > operator-index-release.yaml. Use staging for test release and prod for production one.
  4. Apply generated Release CR to the cluster: oc apply -f operator-index-release.yaml
  5. Monitor release using monitor release script. Release can have Succeeded or Failed statuses

Getting built images for specific commit

Run ./scripts/get-built-images.sh [COMMIT] to fetch built operator catalog images for the provided COMMIT for each supported OCP version. Note: The script uses current branch commit if no COMMIT argument provided.

Monitoring Release

Run ./scripts/monitor-release.sh [COMMIT] to see the current status for the releases associated with the provided COMMIT. Note: The script uses current branch commit if no COMMIT argument provided.

Catalog formats

This directory contains two versions of the catalog, in subdirectories catalog-bundle-object and catalog-csv-metadata. The former is expected by OpenShift versions up to and including 4.16, and the latter - by 4.17 and later.

See konflux docs.

About

Building the ACS (downstream) operator indexes on Konflux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8