-
Notifications
You must be signed in to change notification settings - Fork 546
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
Subscription steps through multiple upgrades #761
Subscription steps through multiple upgrades #761
Conversation
step through multiple intermediate versions we have tests for this for CSVs, but not one for subscriptions.
this prevents detecting two updates to the same operator during one resolution
the test was previously asserting that we would resolve a subscription for an existing csv, which is wrong. if the csv exists in the cluster, we leave it alone (but still consider it's depended/provided apis when resolviing).
/test e2e-aws-olm |
/retest |
/test e2e-aws-olm |
5b6ba86
to
36d470a
Compare
36d470a
to
c18727b
Compare
ownerlabel for roles/rolebindings were missing the kind label, which is used in the selector to determine which roles/bindings are owned by the operator. this fixes a bug where roles/rolebindings would not be lifted to clusterroles/bindings when installed into a global operatorgroup
yet been created this should prevent some churn and possible races
c18727b
to
3e1ca71
Compare
@@ -140,10 +140,12 @@ func (o *Operator) Run(stopc <-chan struct{}) (ready, done chan struct{}, atLeve | |||
o.Log.Info("starting workers...") | |||
for _, queueInformer := range o.queueInformers { | |||
go o.worker(queueInformer) | |||
go o.worker(queueInformer) | |||
} |
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.
Why is this addition and below necessary?
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, jpeeler 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 |
This pulls out a subset of commits from #756 that omits the additional guards around when we attempt to update (they had farther reaching effects that will take a while to test/verify).