Skip to content

Conversation

@estroz
Copy link
Member

@estroz estroz commented Apr 1, 2020

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.yaml supplants package manifests. Which, although not necessary, can be generated by operator-sdk bundle create --generate-only.

@estroz estroz added the olm-integration Issue relates to the OLM integration label Apr 1, 2020
- **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))

Copy link
Contributor

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.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approved

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2020
Co-Authored-By: Camila Macedo <cmacedo@redhat.com>
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2020
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

Copy link
Contributor

@hasbro17 hasbro17 left a 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.

@hasbro17
Copy link
Contributor

hasbro17 commented Apr 1, 2020

So close, but I've got a new CI failure coming up now.
#2511 (comment)
So #2511 is blocked (again) atm.

@hasbro17
Copy link
Contributor

hasbro17 commented Apr 1, 2020

#2511 is merged. This should be good to go after a rebase.

@estroz estroz merged commit da17ed7 into operator-framework:master Apr 1, 2020
@estroz estroz deleted the deprecate-package-manifest branch April 1, 2020 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

olm-integration Issue relates to the OLM integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants