Skip to content

<run|cleanup> packagemanifests: remove --include-paths, change --operator-version to --version#3599

Merged
estroz merged 1 commit intooperator-framework:masterfrom
estroz:chore/change-run-flags
Jul 29, 2020
Merged

<run|cleanup> packagemanifests: remove --include-paths, change --operator-version to --version#3599
estroz merged 1 commit intooperator-framework:masterfrom
estroz:chore/change-run-flags

Conversation

@estroz
Copy link
Copy Markdown
Member

@estroz estroz commented Jul 29, 2020

Description of the change:

  • internal/olm/operator: remove include paths and change operator version to version
  • website: update docs

Motivation for the change: streamline flags

/cc @joelanford @rashmigottipati @jmrodri

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@estroz estroz added the olm-integration Issue relates to the OLM integration label Jul 29, 2020
…ved,

and `--operator-version` has been changed to `--version`
@estroz estroz force-pushed the chore/change-run-flags branch from a466a2a to 905a829 Compare July 29, 2020 18:56
Copy link
Copy Markdown
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

when pass in the Ci

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 29, 2020
Copy link
Copy Markdown
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Copy Markdown
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

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

Why are we removing the checks hasSubscription and hasCatalogSource?

@estroz
Copy link
Copy Markdown
Member Author

estroz commented Jul 29, 2020

Why are we removing the checks hasSubscription and hasCatalogSource?

There is no way for a user to pass a Subscription or CatalogSource to the run packagemanifests command, so these cannot exist in the list of objects to create (the removed operatorManager.olmObjects) before the SDK constructs them internally. Therefore these checks are unnecessary.

Copy link
Copy Markdown
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

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

/lgtm

@estroz estroz merged commit e5d23f0 into operator-framework:master Jul 29, 2020
@estroz estroz deleted the chore/change-run-flags branch July 29, 2020 19:38
@joelanford joelanford mentioned this pull request Jul 29, 2020
92 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. olm-integration Issue relates to the OLM integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants