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

Add CSI_REMOVE_HOLDER_PODS key and its value in the ocs configmap #2513

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

iamniting
Copy link
Member

set the CSI_REMOVE_HOLDER_PODS to true for new users on version 4.16 onwards and set it to false for older/upgraded user to give them time to migrate manually.

with version 4.17 we will make the CSI_REMOVE_HOLDER_PODS to true for all customers older and new both.

If the configmap is being created for the first time we are considering it as a new install.

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

Jira: https://issues.redhat.com/browse/RHSTOR-5340?focusedId=24357013&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-24357013

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 19, 2024
@iamniting
Copy link
Member Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 19, 2024
set the CSI_REMOVE_HOLDER_PODS to true for new users on version 4.16
onwards and set it to false for older/upgraded user to give them time to
migrate manually.

with version 4.17 we will make the CSI_REMOVE_HOLDER_PODS to true for
all customers older and new both.

If the configmap is being created for the first time we are considering
it as a new install.

Signed-off-by: Nitin Goyal <[email protected]>
@iamniting
Copy link
Member Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 19, 2024
@iamniting
Copy link
Member Author

@subhamkrai once this PR is merged can you pls read this key from the ocs-operator-config configmap in the rook deployment?

Copy link
Contributor

@malayparida2000 malayparida2000 left a comment

Choose a reason for hiding this comment

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

The bundle separation PR #2492 is not yet merged. So it will be appropriate to add the change for reading this as env variable to the csv in the csv-merger. This will make sure after that PR is merged all the mentioned env vars are properly migrated to the rook ds repo csv.

@subhamkrai
Copy link
Contributor

@subhamkrai once this PR is merged can you pls read this key from the ocs-operator-config configmap in the rook deployment?

suree

@iamniting
Copy link
Member Author

The bundle separation PR #2492 is not yet merged. So it will be appropriate to add the change for reading this as env variable to the csv in the csv-merger. This will make sure after that PR is merged all the mentioned env vars are properly migrated to the rook ds repo csv.

I am not doing that because if we do so we will have merge conflicts in the other PR where we are removing the rook CSV.

@malayparida2000
Copy link
Contributor

The bundle separation PR #2492 is not yet merged. So it will be appropriate to add the change for reading this as env variable to the csv in the csv-merger. This will make sure after that PR is merged all the mentioned env vars are properly migrated to the rook ds repo csv.

I am not doing that because if we do so we will have merge conflicts in the other PR where we are removing the rook CSV.

That should be okay right? I just want to make sure that all the env vars defined in the csv merger get transferred directly to the rook ds. If we don't want the merge conflict, IMO we should wait till the bundle separation PR merges and then merge this.

@iamniting
Copy link
Member Author

The bundle separation PR #2492 is not yet merged. So it will be appropriate to add the change for reading this as env variable to the csv in the csv-merger. This will make sure after that PR is merged all the mentioned env vars are properly migrated to the rook ds repo csv.

I am not doing that because if we do so we will have merge conflicts in the other PR where we are removing the rook CSV.

That should be okay right? I just want to make sure that all the env vars defined in the csv merger get transferred directly to the rook ds. If we don't want the merge conflict, IMO we should wait till the bundle separation PR merges and then merge this.

I don't want to delay the PRs as we are near the feature freeze.

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

openshift-ci bot commented Mar 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, subhamkrai

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 893788e into red-hat-storage:main Mar 19, 2024
11 checks passed
@iamniting iamniting deleted the holder 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.

3 participants