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

feat(csv): add installmodes to CSV spec #640

Merged

Conversation

njhale
Copy link
Member

@njhale njhale commented Dec 20, 2018

  • Adds InstallModes to CSV spec.
  • Adds InstallModes to all current operators.

Addresses ALM-842 and ALM-843

/assign @alecmerdler @ecordell

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 20, 2018
@njhale njhale force-pushed the csv-installmodes branch 2 times, most recently from 981fe23 to 6f04eb2 Compare December 21, 2018 17:27
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 21, 2018
@njhale njhale force-pushed the csv-installmodes branch 4 times, most recently from b66d1ef to 1927601 Compare December 26, 2018 23:15
@ecordell
Copy link
Member

Do you need to run codegen on this?

@njhale
Copy link
Member Author

njhale commented Dec 28, 2018

Do you need to run codegen on this?

Yes, I do. I was planning on running it after I finish writing tests.

@njhale njhale force-pushed the csv-installmodes branch 3 times, most recently from e13b55a to 7e7550f Compare January 2, 2019 18:30
@njhale njhale force-pushed the csv-installmodes branch 2 times, most recently from 9641742 to d0a7ac1 Compare January 3, 2019 00:19
@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 3, 2019
@njhale njhale force-pushed the csv-installmodes branch 3 times, most recently from df5a7c5 to 686e561 Compare January 3, 2019 05:48
@openshift-ci-robot openshift-ci-robot removed the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 3, 2019
@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 3, 2019
@njhale njhale changed the title [WIP] feat(csv): add installmodes to CSV spec feat(csv): add installmodes to CSV spec Jan 3, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 3, 2019
@njhale
Copy link
Member Author

njhale commented Jan 3, 2019

/retest

pkg/controller/operators/olm/operator.go Outdated Show resolved Hide resolved
pkg/controller/operators/olm/operatorgroup.go Outdated Show resolved Hide resolved
namespaceList := []string{}
if selector.Empty() || selector == nil {
namespaceList = append(namespaceList, corev1.NamespaceAll)
namespaceSet := make(map[string]struct{})
Copy link
Member

Choose a reason for hiding this comment

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

This is getting hard to follow now - can we divide it by whether you're using targetNamespace list vs. a selector?

@njhale
Copy link
Member Author

njhale commented Jan 3, 2019

/retest

Copy link
Member

@ecordell ecordell left a comment

Choose a reason for hiding this comment

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

/lgtm

@njhale
Copy link
Member Author

njhale commented Jan 3, 2019

/test e2e-aws

@ecordell
Copy link
Member

ecordell commented Jan 3, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ecordell, njhale

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

The pull request process is described 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

@ecordell
Copy link
Member

ecordell commented Jan 3, 2019

/retest

2 similar comments
@njhale
Copy link
Member Author

njhale commented Jan 4, 2019

/retest

@ecordell
Copy link
Member

ecordell commented Jan 4, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit 67f26f5 into operator-framework:master Jan 4, 2019
ecordell pushed a commit to ecordell/operator-lifecycle-manager that referenced this pull request Mar 8, 2019
@njhale njhale added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 19, 2019
@njhale njhale deleted the csv-installmodes branch September 30, 2019 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants