New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: adds clarification to imageset reference and examples #555
docs: adds clarification to imageset reference and examples #555
Conversation
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of typos and a few spots that I think could use additional clarity.
docs/imageset-config-ref.yaml
Outdated
packages: | ||
- name: elasticsearch-operator | ||
channels: | ||
- name: 'stable-v0' # Mirrors a single channel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add clarity to comment
Mirrors a single channel, from the previous channel head to the current channel head
# If a package is specified with a channel with no minVersion/maxVersion, only the channel's latest | ||
# version will be mirrored. | ||
|
||
# IMPORTANT: This is only true if metadata for this package in unestablished. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think repetition in multiple examples is good, but multiple times in same file is excessive imo
docs/imageset-config-ref.yaml
Outdated
- name: rhacs-operator | ||
minVersion: '3.67.0' | ||
minVersion: '3.67.0' # Mirrors all version from the minimum version to the latest in the package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add clarity
Mirrors all versions from the minimum version to the latest in the package, including all channels that contain any of those versions.
Consider addition of extra note - not here, but somewhere - that "minmum" and "latest" don't mean semver-style sorting, but rather relate to the graph constructed through 'replaces' and 'skips' in published versions
channels: | ||
- name: 'stable-v0' | ||
--- | ||
#minVersion and maxVersion can be set that the channel level OR the package level. If set at the package level, all channels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be set at
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This clarifies a lot. Thanks @jpower432
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpower432, sherine-k, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jpower432: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Signed-off-by: Jennifer Power barnabei.jennifer@gmail.com
Description
This update imageset examples under
docs/examples
and updates theimageset-config-ref.yaml
to provide valid catalog configuration examples.Type of change
How Has This Been Tested?
N/A, docs PR
Checklist: