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

csi: enable csi-omap based on key in operator config #105

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

rewantsoni
Copy link
Member

@rewantsoni rewantsoni commented Mar 6, 2024

The csi-omap generator needs to the enabled on the application cluster for RDR.

Add a new key to operator configMap controller to enable omap. If the key is not set we will always enable this option on operator Config CR. If key is available we will set the value to what was provider in ocs-client-operator-config

Copy link
Contributor

@leelavg leelavg left a comment

Choose a reason for hiding this comment

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

I think deployment generation will change after 107, will re-review after that.

controllers/clusterversion_controller.go Outdated Show resolved Hide resolved
controllers/clusterversion_controller.go Outdated Show resolved Hide resolved
controllers/clusterversion_controller.go Outdated Show resolved Hide resolved
controllers/clusterversion_controller.go Outdated Show resolved Hide resolved
@leelavg
Copy link
Contributor

leelavg commented Apr 8, 2024

pls rebase, it's a bit confusing to review in current state, thanks.

Copy link
Contributor

@leelavg leelavg left a comment

Choose a reason for hiding this comment

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

after going through the code, just thinking, what's the down side of always deploying this sidecar?

controllers/operatorconfigmap_controller.go Outdated Show resolved Hide resolved
controllers/storageclaim_controller.go Outdated Show resolved Hide resolved
pkg/templates/csisidecars.go Outdated Show resolved Hide resolved
@rewantsoni rewantsoni force-pushed the csi-omap branch 2 times, most recently from bc255a4 to 3d787c1 Compare November 5, 2024 09:11
@Madhu-1
Copy link
Member

Madhu-1 commented Nov 5, 2024

LGTM

@rewantsoni rewantsoni changed the title csi: enable csi-omap when set in sidecar config csi: enable csi-omap based on key in operator config Nov 13, 2024
@rewantsoni rewantsoni force-pushed the csi-omap branch 2 times, most recently from f05f083 to 8a8f141 Compare November 14, 2024 15:03
@nb-ohad
Copy link
Contributor

nb-ohad commented Nov 14, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 14, 2024
Copy link

openshift-ci bot commented Nov 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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 7d92043 into red-hat-storage:main Nov 14, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants