-
Notifications
You must be signed in to change notification settings - Fork 1.8k
generate csv: deprecate package manifest generation #2755
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
generate csv: deprecate package manifest generation #2755
Conversation
| - **Breaking Change:** The method `ctx.GetNamespace()` from the `pkg/test` is deprecated and will be removed in the future versions. Use `ctx.GetOperatorNamespace()` and `ctx.GetWatchNamespace()` instead of. ([#2617](https://github.com/operator-framework/operator-sdk/pull/2617)) | ||
| - **Breaking Change:** The method `ctx.GetNamespace()` from the `pkg/test` is deprecated and will be removed in future versions. Use `ctx.GetOperatorNamespace()` and `ctx.GetWatchNamespace()` instead of. ([#2617](https://github.com/operator-framework/operator-sdk/pull/2617)) | ||
| - package manifests are deprecated and new manifests are no longer generated; existing manifests are still updated by `operator-sdk generate csv`, but updates will not occur in future versions. Use [`operator-sdk bundle create`](./doc/cli/operator-sdk_bundle_create.md) to manage operator bundle metadata. ([#2755](https://github.com/operator-framework/operator-sdk/pull/2755)) | ||
|
|
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.
We need to remember to upgrade the Getting Started as well.
camilamacedo86
left a comment
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.
/lgtm
/approved
Co-Authored-By: Camila Macedo <cmacedo@redhat.com>
|
New changes are detected. LGTM label has been removed. |
hasbro17
left a comment
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.
SGTM but if it's possible I'd rather wait to rebase this on top of #2511 once the CI clears for that and I can merge. After 4 rebases I'm just waiting for the CI to clear on that.
|
So close, but I've got a new CI failure coming up now. |
|
#2511 is merged. This should be good to go after a rebase. |
Description of the change: deprecate package manifest generator
Motivation for the change: package manifests are not used by OLM to manage operator versions any more.
metadata/annotations.yamlsupplants package manifests. Which, although not necessary, can be generated byoperator-sdk bundle create --generate-only.