-
Notifications
You must be signed in to change notification settings - Fork 64
webhook: mutate rook op csv if previeous csv had hostNetwork enabled #670
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
Conversation
iamniting
left a comment
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.
We should not write rook csv specific code, We should have a generic code which works for all csvs.
Generic code will not work in this case as we need t update rook-ceph-operator deployment specifically, |
Making changes as dicsussed |
562d333 to
82e1766
Compare
iamniting
left a comment
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.
/hold for @nb-ohad review.
|
/cherry-pick release-4.20 |
|
@iamniting: once the present PR merges, I will cherry-pick it on top of DetailsIn 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-sigs/prow repository. |
3782088 to
6d3db8d
Compare
iamniting
left a comment
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.
/lgtm @nb-ohad Can you take a look
d85786b to
df9c3bd
Compare
|
/test odf-operator-e2e-aws |
|
/unhold |
0e8226c to
4980371
Compare
iamniting
left a comment
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.
Can you also change the commit msg to include the DNSPolicy?
The webhook now mutates the ClusterServiceVersion (CSV) to set `hostNetwork` and `dnsPolicy` on deployments from the replaced CSV. This ensures continuity of networking configuration across operator upgrades and avoids potential deployment issues caused by missing `hostNetwork` and `dnsPolicy` in the new CSV. Signed-off-by: Rohan Gupta <rohgupta@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamniting, rohan47 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
2209d90
into
red-hat-storage:main
|
@iamniting: new pull request created: #697 DetailsIn 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-sigs/prow repository. |
updated webhook to mutate csv if the previous csv had hostNetwork enabled for deployment in order to persist csv update from red-hat-storage/ocs-operator#3423
Bug: https://issues.redhat.com/browse/DFBUGS-3832