Skip to content
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

Fix typos and outdated info on bundle enhancement doc #82

Closed
wants to merge 1 commit into from

Conversation

dinhxuanvu
Copy link
Member

Signed-off-by: Vu Dinh [email protected]

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dinhxuanvu
To complete the pull request process, please assign ecordell
You can assign the PR to them by writing /assign @ecordell in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 23, 2019
@dinhxuanvu
Copy link
Member Author

@shawn-hurley PTAL. Just a small PR to correct some typos and outdated information due to recently merged PR from Kevin to keep the consistency across the documentation.

@shawn-hurley
Copy link

It looks like we are adding versioning to the labels and annotations file keys, but by adding a version to each key, we may allow for someone in the future to have a .v2 key for one of the fields and .v1 for another.

Is this the desired behavior?

@dinhxuanvu
Copy link
Member Author

It looks like we are adding versioning to the labels and annotations file keys, but by adding a version to each key, we may allow for someone in the future to have a .v2 key for one of the fields and .v1 for another.

Is this the desired behavior?

I believe that is the intention. @kevinrizza @ecordell Can you confirm this?

@kevinrizza
Copy link
Member

@dinhxuanvu @shawn-hurley yes the intention is that we can update the spec and clients that read these images can tell which version of the spec the images are on and handle the data accordingly.

@shawn-hurley
Copy link

The question that I have is in the future do we want to have to handle this situation:
operators.operatorframework.io.bundle.package.v2=<new-package-name-format
operators.operatorframework.io.bundle.mediatype.v1=registry+v1

where we can mix and match versions?

@kevinrizza
Copy link
Member

The question that I have is in the future do we want to have to handle this situation:
operators.operatorframework.io.bundle.package.v2=<new-package-name-format
operators.operatorframework.io.bundle.mediatype.v1=registry+v1

where we can mix and match versions?

I don't think the intention is necessarily to guarantee support for every possible combination, just to give us an indication of what version of the spec the image is currently on. But yes, in some cases mixing and matching is now possible (and totally reasonable).

@shawn-hurley
Copy link

Can you explain where it would be reasonable?

If the intention is not to support every possible combination how are we going to show that key1 is only compatible with key2 in these versions?

Would it be safer to have a new "version" key where you can have operators.operatorframework.io.bundle.version=v1.2and it is responsible for reporting the version for every field? That way we can clearly write the rules for each key based on a version?

@russellb
Copy link
Member

@dinhxuanvu @shawn-hurley @kevinrizza This PR stalled out many months ago. There are some obvious typo fixes included that we should just merge quickly. Can the PR get updated to only include what we can just merge and drop anything that needs any more discussion? Thanks!

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 11, 2020
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 11, 2020
@dinhxuanvu dinhxuanvu closed this Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants