Add skipRange on GitOps Z-stream releases for disconnected upgrades#147
Open
tzprograms wants to merge 2 commits into
Open
Add skipRange on GitOps Z-stream releases for disconnected upgrades#147tzprograms wants to merge 2 commits into
tzprograms wants to merge 2 commits into
Conversation
Collaborator
|
/ok-to-test |
Collaborator
|
/retest |
svghadi
reviewed
Jun 10, 2026
| - name: openshift-gitops-operator.v1.19.1 | ||
| replaces: openshift-gitops-operator.v1.19.0 | ||
| skipRange: '>=1.0.0 <1.19.0' | ||
| skipRange: '>=1.0.0 <1.19.1' |
Collaborator
There was a problem hiding this comment.
Should this be
Suggested change
| skipRange: '>=1.0.0 <1.19.1' | |
| skipRange: '>=1.19.0 <1.19.1' |
Author
There was a problem hiding this comment.
Yes it should be ideally, It was the value present by default hence I didn't touch it . If you want I can make the changes.
svghadi
reviewed
Jun 10, 2026
| - name: openshift-gitops-operator.v1.19.2 | ||
| replaces: openshift-gitops-operator.v1.19.1 | ||
| skipRange: '>=1.0.0 <1.19.0' | ||
| skipRange: '>=1.0.0 <1.19.2' |
Author
|
/retest |
Collaborator
|
/ok-to-test |
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.
Summary
Fixes disconnected z-stream upgrades for OpenShift GitOps when customers mirror only a subset of operator bundles (e.g. 1.18.0 and 1.18.4 via ImageSetConfig) without intermediate patch releases.
Adds
skipRangeon patch bundles in channelsgitops-1.18,gitops-1.19, andgitops-1.20so OLM can upgrade directly within a minor version (e.g. 1.18.0 → 1.18.4) while keeping existingreplacesedges.Problem
Without in-minor
skipRange, OLM requires every intermediate bundle in the catalog/registry. Disconnected customers must mirror all z-stream releases, increasing registry disk usage.Changes
config.yaml—skipRangefor 1.18.1–1.18.6, 1.19.1–1.19.4, 1.20.1–1.20.4catalog/v4.14–v4.22/template.yamlviagenerate-catalog-template.pyExample
openshift-gitops-operator.v1.18.4:replaces: openshift-gitops-operator.v1.18.3(unchanged)skipRange: '>=1.18.0 <1.18.4'(new)Jira
GITOPS-9586