Repository navigation
chore: deprecate generic fast OLM channel, default to fast-X.Y - #3822
Conversation
Remove the generic "fast" OLM channel and make the versioned "fast-X.Y" channel (e.g., fast-2.2) the default for new installations. This forces users to explicitly choose their upgrade path via versioned channels. Also reduce skipRange from >=1.0.0 to >=2.1.0 to enforce incremental minor version updates rather than allowing jumps from 1.x. BREAKING CHANGE: Users currently subscribed to the "fast" channel will need to manually switch their Subscription or ClusterExtension to use the appropriate "fast-X.Y" channel to receive future updates. Ref: RHIDP-17820 Assisted-by: Claude
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
fast OLM channel, default to fast-X.Y
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
fast OLM channel, default to fast-X.Yfast OLM channel, default to fast-X.Y
PR Summary by QodoDefault RHDH installations to versioned OLM channels
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
Code Review by Qodo
View medium (1)🟠 **Medium** 1. Explicit channel installs evade cleanup
|
|
Important The |
Instead of silently falling back to the deprecated 'fast' channel, fail with a clear error message when neither --filter-versions nor CI_X_VERSION/CI_Y_VERSION are set. Assisted-by: Claude
…el apply Instead of erroring out or falling back to the generic 'fast' channel when the OLM channel cannot be determined, omit the channel field from OLMv0 Subscription and OLMv1 ClusterExtension manifests entirely. OLM will then use the catalog's defaultChannel automatically. This is safer than hardcoding 'fast' (which won't contain newer releases) and more user-friendly than erroring out. Assisted-by: Claude
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
fast OLM channel, default to fast-X.Yfast OLM channel, default to fast-X.Y
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
|
|
✅ PR images built and pushed successfully! Images are available for testing (expires in 7 days):
|
nickboldt
left a comment
There was a problem hiding this comment.
let's merge and see what breaks!
cbca5b9
into
redhat-developer:main



Description
Deprecate the generic
fastOLM channel usingolm.deprecationsand make the versionedfast-X.Ychannel (e.g.,fast-2.2) the default for new installations. Thefastchannel remains in the catalog so existing subscriptions are not broken, but new bundles are only published to versionedfast-X.Ychannels. Users onfastwill see a deprecation warning and should switch to the appropriate versioned channel.Also narrow
skipRangeto>=2.1.0 <2.2.0to enforce incremental minor version upgrades (cross-minor lower bound allows upgrading from the previous minor).Note: Users currently subscribed to the
fastchannel will continue to run without errors, but will no longer receive new versions. They should switch their Subscription or ClusterExtension to the appropriatefast-X.Ychannel (e.g.,fast-2.2) to receive future updates. The deprecation message is surfaced via OLM'solm.deprecationsschema in the catalog (midstream change).Changes:
fast-$CI_X_VERSION.$CI_Y_VERSIONDEFAULT_CHANNELcomputed dynamically fromBASE_VERSIONfast-X.YwhenCI_X_VERSION/CI_Y_VERSIONare set; when channel cannot be determined, omits thechannelfield entirely so OLM uses the catalog'sdefaultChannelfastfrom opm render filter and imageset-config; OLMv0/v1 manifests conditionally include the channel — when undetermined, the field is omitted and a warning is loggedWhich issue(s) does this PR fix or relate to
PR acceptance criteria
fastchannelHow to test changes / Special notes to the reviewer
DEFAULT_CHANNELcorrectly fromBASE_VERSION(e.g.,2.2.3→fast-2.2)channel: fast-2.2instead offastinstall-rhdh-catalog-source.shwithCI_X_VERSION=2 CI_Y_VERSION=2— should default tofast-2.2install-rhdh-catalog-source.shwithoutCI_X_VERSION/CI_Y_VERSION— should omit the channel field and log a warningprepare-restricted-environment.sh— generated manifests should referencefast-X.Ychannel when determinable, or omit it when notTested on live OCP clusters
fastchannel causesResolutionFailed(namespace-wide impact) — hence deprecation approach insteadolm.deprecationskeeps subscriptions healthy while surfacing a warningskipRangeenforcement: users on 1.9 cannot skip to 2.1 directly, must go 1.9 → 1.10 → 2.1fasttofast-X.Yfast,fast-1.10,fast-2.1) and that channel switching works from the OCP console UIContainer Images
Container images are built and pushed to Quay automatically when relevant files change.
Image links will be posted in a PR comment once the push completes.
Assisted-by: Claude