-
Notifications
You must be signed in to change notification settings - Fork 185
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
Avoid reconciling rook-ceph-operator-config via the external controller #2970
Conversation
b8711c1
to
1d32743
Compare
The rook-ceph-operator-config ConfigMap is managed by the OCSInitialization controller and should only be reconciled by it. This ensures consistency and prevents duplicate handling. It should be reconciled from OCSInitialization only. Signed-off-by: Nitin Goyal <[email protected]>
The ROOK_CSI_ENABLE_CEPHFS key was set in the external mode within the rook-ceph-operator-config ConfigMap. However, it should have been removed when transitioning from rook-ceph-operator-config to ocs-operator-config. The rook-ceph-operator-config ConfigMap is now retained only for customer modifications. This code can be safely removed in the next release, as it only require to run once to delete the key. Signed-off-by: Nitin Goyal <[email protected]>
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.
/cherry-pick release-4.18 |
@iamniting: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
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,
/hold in case we need more eyes on this before merge.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamniting, malayparida2000 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 |
wont this be a change in the behavior on the upgraded/new cluster where only RBD is in use not cephfs? Are we fine with it and also do we need any documentation change for it? |
We are thinking to update the ocs-operator config map with this config value as a next step but need a discussion on that. |
IMO as long as the behavior remains the same we are good. |
/unhold |
84fdc5a
into
red-hat-storage:main
@iamniting: new pull request created: #2971 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-sigs/prow repository. |
If the user desires to disable the CephFS CSI driver, now how do they do it? It seems this PR is forcing the cephfs csi driver to be enabled and the user is not allowed to override it? The configmap settings should be controlled by the user, but maybe I'm missing something. |
It's correct with this PR we have force enabled the cephfs driver, |
Signed-off-by: Nitin Goyal [email protected]
https://issues.redhat.com/browse/DFBUGS-1357