Repository navigation
Conversation
`go install operator-sdk@v1.42.3` fails to build on the CI runner because operator-sdk cgo-links against libgpgme (via containers/image), which the runner doesn't have dev headers for: "Package gpgme was not found in the pkg-config search path." publish_redhat_bundle.yaml's own "Install bundle tools" step already sidesteps this by downloading the prebuilt yq/operator-sdk release binaries instead of building them - mirror that here. Also drops the now-unused Set up Go step, since nothing else in this job invokes go.
jaitaiwan
force-pushed
the
feat/red-hat-certified-images
branch
from
September 14, 2026 02:09
9a8187d to
bc7ca8e
Compare
…ied-images # Conflicts: # dev/build_hub_releases.sh # pkg/model/chi/config/const.go
…roduction image
The UBI builds failed since 0.28.0 keeps .git out of the docker context: go_build_config.sh
needs GIT_SHA passed in, as dockerfile/operator/Dockerfile does. The go-toolset image was
pinned to Go 1.26.5 with GOTOOLCHAIN=local while go.mod requires 1.27.4; it now follows
GO_VERSION from go.mod like golang:${GO_VERSION} in the main Dockerfiles, so the workflows
no longer hardcode GO_TOOLSET_IMAGE/UBI_IMAGE next to the Dockerfile defaults.
The certified images are the production ones only: the debug and ACVP stages stay in the
main Dockerfiles instead of being copied here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: slach <bloodjazman@gmail.com>
The same imageFromEnv helper was copied into chi and chk config; both now use pkg/util, and the comment says why the defaults are overridable at all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: slach <bloodjazman@gmail.com>
…s only to their steps The bundle used to be polled every 6 hours with the certified-operators token and the Pyxis token in every step's environment, including the ones that download tools. It now starts when release_ubi9 succeeds, keeps a daily run for images Red Hat publishes later, and passes each token only to the steps that use it. The README says where each variable and secret comes from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: slach <bloodjazman@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A Red Hat certified operator distribution, separate from the community catalog that
dev/build_hub_releases.shalready publishes to (community-operators-prod):dockerfile/ubi9/{operator,metrics-exporter}/Dockerfile— production images on Red Hat base images only (ubi9/go-toolset:<go.mod version>builder,ubi9/ubiruntime).deploy/certified-operator/— builds the certified bundle from the existingdeploy/builder/operatorhub.shoutput: digest-pinned images,relatedImages, OpenShift version range,ci.yamlfor the Red Hat pipeline.pkg/model/{chi,chk}/config— default ClickHouse, Keeper and log images can be overridden through the operator's environment (CLICKHOUSE_OPERATOR_DEFAULT_{CLICKHOUSE,KEEPER,LOG}_IMAGE), so the bundle pins them to the certified digests fromrelatedImages. Without those variables nothing changes.check_ubi9builds and checks both UBI images on PRs.check_redhat_bundlegenerates and validates the bundle on PRs.release_ubi9builds, signs, pushes and Preflight-submits the UBI images on release.publish_redhat_bundleopens thecertified-operatorsPR once Red Hat has published the images. It runs afterrelease_ubi9, then daily.Everything that pushes or submits stays off until
vars.RED_HAT_CERTIFICATION_ENABLED == 'true'.What is still missing before this can be used
Nothing in this PR works against Red Hat until these exist. Each one is described in
deploy/certified-operator/README.md.RED_HAT_BUNDLE_CERT_PROJECT_ID(var)RED_HAT_OPERATOR_CERTIFICATION_COMPONENT_ID,RED_HAT_METRICS_CERTIFICATION_COMPONENT_ID(secrets)RED_HAT_PYXIS_API_TOKEN(secret)RED_HAT_REGISTRY,RED_HAT_REGISTRY_NAMESPACE(vars);UBI_REGISTRY_USERNAME,UBI_REGISTRY_PASSWORD(secrets)clickhouse-operatorandmetrics-exporterthereRED_HAT_RELATED_IMAGES(var)clickhouse/clickhouse-serverfrom Docker Hub is not certified. Forclickhouse-log: aregistry.access.redhat.com/ubi9/ubi-minimaldigestRED_HAT_CERTIFIED_OPERATORS_FORK(var),RED_HAT_CERTIFIED_OPERATORS_TOKEN(secret)redhat-openshift-ecosystem/certified-operators, plus a token of the GitHub user linked to the Partner Connect project, limited to that fork and to opening PRsRED_HAT_PACKAGE_NAME,RED_HAT_OPENSHIFT_VERSIONS,RED_HAT_CERTIFICATION_START_VERSION(vars)Merge notes
Signed-off-byline (DCO, see CONTRIBUTING.md). Squash on merge and add the sign-off there.nobody, report the release version, and pass the runtime checks ofcheck_ubi9.go test ./pkg/...andactionlinton the new workflows pass.Checklist
next-releasebranch (0.28.0), not intomasterbranch🤖 Generated with Claude Code