Skip to content

Conversation

@abhinavdahiya
Copy link
Contributor

autoupdate controller sets the DesiredUpdate for CVOConfig to the greatest available version from OperatorStatus AvailabeUpdates.

Requires #10
/cc @crawford @smarterclayton
/assign @crawford @smarterclayton

@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 22, 2018
@abhinavdahiya abhinavdahiya requested a review from yifan-gu August 22, 2018 18:53
@abhinavdahiya
Copy link
Contributor Author

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 22, 2018
// 5ms, 10ms, 20ms, 40ms, 80ms, 160ms, 320ms, 640ms, 1.3s, 2.6s, 5.1s, 10.2s, 20.4s, 41s, 82s
maxRetries = 15

workQueueKey = "%s/%s"

Choose a reason for hiding this comment

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

nit: doesn't feel this const is very useful and looks like it's only used in one place...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@yifan-gu
Copy link

New commits lgtm

}
cvoststatus, ok := obji.(*v1.CVOStatus)
if !ok {
return fmt.Errorf("expected *v1.CVOStatus found %t", obji)

Choose a reason for hiding this comment

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

This should be %T

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, thanks

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 27, 2018
@abhinavdahiya
Copy link
Contributor Author

/hold cancel

@yifan-gu PTAL

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 27, 2018
@yifan-gu
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 28, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, yifan-gu

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

The pull request process is described here

Details 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 28, 2018
@openshift-merge-robot openshift-merge-robot merged commit 7fd2358 into openshift:master Aug 28, 2018
wking added a commit to wking/cluster-version-operator that referenced this pull request Aug 5, 2020
This seems to have been copy-pasted from the machine-config operator
in 6c8f725 (cvo: refactor to informers, 2018-08-14, openshift#7) and then
from there over to the auto-update package with ad4bd6c (pkg: add
autoupdate ctrl, 2018-08-22, openshift#11).  Update to generic wording that is
less likely to go stale.
wking added a commit to wking/cluster-version-operator that referenced this pull request Aug 5, 2020
This seems to have been copy-pasted from the machine-config operator
in 6c8f725 (cvo: refactor to informers, 2018-08-14, openshift#7) and then
from there over to the auto-update package with ad4bd6c (pkg: add
autoupdate ctrl, 2018-08-22, openshift#11).  Update to generic wording that is
less likely to go stale.
wking added a commit to wking/cluster-version-operator that referenced this pull request Aug 5, 2020
This seems to have been copy-pasted from the machine-config operator
in 6c8f725 (cvo: refactor to informers, 2018-08-14, openshift#7) and then
from there over to the auto-update package with ad4bd6c (pkg: add
autoupdate ctrl, 2018-08-22, openshift#11).  Update to generic wording that is
less likely to go stale.
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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants