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
Bug 1891995: Add spec hash to service's label to ensure service is correct #1848
Bug 1891995: Add spec hash to service's label to ensure service is correct #1848
Conversation
@dinhxuanvu: This pull request references Bugzilla bug 1891995, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
7947806
to
6d6a1e6
Compare
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.
looks good, just left some small comments. I think an e2e test could also be helpful.
Calculate hash from service spec and add it to service's labels. Will use this hash info to ensure service during catalog source reconciliation. This feature will force OLM to recreate new service if the hash doesn't match to avoid stale service with the same name. Signed-off-by: Vu Dinh <vdinh@redhat.com>
/lgtm |
/retest |
/approve looks good, but missing tests |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dinhxuanvu, ecordell 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 |
/hold |
/retest |
Signed-off-by: Vu Dinh <vdinh@redhat.com>
/hold cancel |
/retest |
1 similar comment
/retest |
/lgtm |
@dinhxuanvu: All pull requests linked via external trackers have merged: Bugzilla bug 1891995 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
/cherry-pick release-4.6 |
@dinhxuanvu: new pull request created: #1851 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 kubernetes/test-infra repository. |
Calculate has from service spec and add it to service's labels.
Will use this hash info to ensure service during catalog source
reconciliation. This feature will force OLM to recreate new
service if the hash doesn't match to avoid stale service with
the same name.
Signed-off-by: Vu Dinh vdinh@redhat.com
Description of the change:
Motivation for the change:
Reviewer Checklist
/docs