Skip to content
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

Apply custom taints via the storagecluster CR #2502

Merged
merged 4 commits into from
Mar 18, 2024

Conversation

iamniting
Copy link
Member

Signed-off-by: Nitin Goyal [email protected]

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2024
@iamniting iamniting force-pushed the tolerations branch 3 times, most recently from 31503fe to bcdbc57 Compare March 8, 2024 05:21
@iamniting iamniting requested review from Madhu-1 and nb-ohad March 13, 2024 07:02
@leelavg
Copy link
Contributor

leelavg commented Mar 15, 2024

@iamniting just curious, I saw the comments were resolved w/ responses, should the PR author close it or the one who reviewed?

Btw, I'm not in reviewers list and reviewed PR on a request from @nb-ohad, pls excuse.

@iamniting
Copy link
Member Author

@iamniting just curious, I saw the comments were resolved w/ responses, should the PR author close it or the one who reviewed?

Anyone can resolve that if they think the conversation is done.
I would not say without response, I replied on the comments before resolving.

Btw, I'm not in reviewers list and reviewed PR on a request from @nb-ohad, pls excuse.

That's okay, Ohad told me you will take a look. We don't believe that only reviewers in the list need to review anyone can come and review and provide their input.

@iamniting iamniting force-pushed the tolerations branch 3 times, most recently from d5c3cdd to 8b7cfbd Compare March 15, 2024 14:20
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 15, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 15, 2024
@iamniting iamniting requested review from Madhu-1 and leelavg March 15, 2024 14:38
Copy link
Member

@Madhu-1 Madhu-1 left a comment

Choose a reason for hiding this comment

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

LGTM, small nits

api/v1/ocsinitialization_types.go Outdated Show resolved Hide resolved
api/v1/ocsinitialization_types.go Outdated Show resolved Hide resolved
controllers/defaults/placements.go Outdated Show resolved Hide resolved
Introduce a new status field to track addition of tolerations in the
rook-ceph-operator-config configmap. The added field status indicates
whether tolerations were successfully added to the configmap. This
information is crucial for ensuring safe deletion, as we will only
proceed with deletion if the tolerations were added by our mechanism.
If they were added by user we will not proceed with the deletion.

Signed-off-by: Nitin Goyal <[email protected]>
Enhance the configuration process by incorporating CSI tolerations
directly into the rook-ceph-operator-config configmap through the
controller. Previously, end users were required to manually edit the
configmap for adding CSI tolerations. With this update, users can now
seamlessly include CSI tolerations in the storage clusters, and the
ocs-operator will automatically propagate these tolerations to the
configmap.

This improvement simplifies the configuration workflow and ensures that
CSI tolerations are seamlessly applied to the Rook Ceph Operator without
the need for manual intervention in the configmap.

Signed-off-by: Nitin Goyal <[email protected]>
@nb-ohad
Copy link
Contributor

nb-ohad commented Mar 18, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2024
Copy link
Contributor

openshift-ci bot commented Mar 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, nb-ohad

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 50bd4ef into red-hat-storage:main Mar 18, 2024
11 checks passed
@iamniting iamniting deleted the tolerations branch May 17, 2024 10:45
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants