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

internal/plugins: follow-up updates from #4581 #4707

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

estroz
Copy link
Member

@estroz estroz commented Mar 29, 2021

Description of the change:

  • internal/plugins/envtest/v1: remove plugin key, since this plugin should only be used internally as a go/v2 patch.
  • internal/plugins/manifests/v2: remove resources from plugin config, and run if a legacy PROJECT configuration is found.

Motivation for the change: following up on comments in #4581

Checklist

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

Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 29, 2021
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Mar 29, 2021
@estroz estroz merged commit 6b6c021 into operator-framework:master Mar 29, 2021
@estroz estroz deleted the chore/fixup-after-4581 branch March 29, 2021 21:57
Comment on lines -42 to -44
defaultHelmChart = ""
defaultHelmChartRepo = ""
defaultHelmChartVersion = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

These default values for flags were extracted to consts so that they could be changed easily, as they are found in two different files (in create api subcommand flag binding and in init subcommand check for non-default values when a create api call needs to be run afterwards).

Copy link
Member Author

Choose a reason for hiding this comment

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

These defaults will never be anything but an empty string, so I removed them to reduce code complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants