-
Notifications
You must be signed in to change notification settings - Fork 48
STOR-2523: hypershift: Add desired-version annotation to controller Deployments and use DeploymentVersionController in csi driver operators #457
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
base: main
Are you sure you want to change the base?
Conversation
|
@mpatlasov: This pull request references STOR-2523 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mpatlasov 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 |
|
/retest-required |
3 similar comments
|
/retest-required |
|
/retest-required |
|
/retest-required |
|
/assign @jsafrane |
7576b2b to
05353f3
Compare
|
/retest-required |
|
/hold Current approach requests Deployment from the hook like this: It's not good. Let's try another approach -- new controller that would reconcile "release.openshift.io/version" annotation. |
05353f3 to
812763e
Compare
812763e to
1289852
Compare
|
/hold |
1289852 to
85ab375
Compare
85ab375 to
c37bde8
Compare
|
/unhold |
|
/retest-required |
1 similar comment
|
/retest-required |
c37bde8 to
679b527
Compare
|
/retest-required |
679b527 to
7a4a133
Compare
|
Update: last force-push bumped library-go deps to vendor last fixes for DeploymentVersionController |
|
/retest-required |
New annotation `release.openshift.io/desired-version` will be used by CSI driver operators to compare the version from env var `OPERATOR_IMAGE_VERSION` with actual version of currently running operand.
951a2e6 to
049dbf6
Compare
|
@mpatlasov: This pull request references STOR-2523 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@mpatlasov: This pull request references STOR-2523 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/hold |
`go get github.com/openshift/library-go`
New annotation `release.openshift.io/version` signals that rollout of Deployment is complete (see https://issues.redhat.com/browse/STOR-2523 for details). This commit uses new controller (DeploymentVersionController) from library-go which reconciles version annotation if controller deplyment is done.
049dbf6 to
83035fd
Compare
|
/retest-required |
2 similar comments
|
/retest-required |
|
/retest-required |
|
@mpatlasov: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/retest-required |
|
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
https://issues.redhat.com//browse/STOR-2523
/cc @openshift/storage
New annotation
release.openshift.io/desired-versionis used by DeploymentVersionController to compare the version from env varOPERATOR_IMAGE_VERSIONwith actual version of currently running operand.The third commit in this PR adds DeploymentVersionController to the following csi driver operators: aws-ebs, azure-disk, azure-file, openstack manila and cinder.
The result of merging this PR would be updating
release.openshift.io/versionannotation of controller Deployments in Hypershift control-plane when controller deployment is completed.