Skip to content

StorageClass dropdown shows provisioner-based classes in TNF - #2753

Merged
openshift-merge-bot[bot] merged 1 commit into
red-hat-storage:masterfrom
Soundarya189r:DFBUGS-6344
May 13, 2026
Merged

StorageClass dropdown shows provisioner-based classes in TNF#2753
openshift-merge-bot[bot] merged 1 commit into
red-hat-storage:masterfrom
Soundarya189r:DFBUGS-6344

Conversation

@Soundarya189r

Copy link
Copy Markdown

@Soundarya189r

Copy link
Copy Markdown
Author

/test odf-console-e2e-aws

@Soundarya189r

Copy link
Copy Markdown
Author

/retest-required

secondaryTextGenerator={getStorageClassDescription}
initialSelection={getInitialSelection}
filterResource={filterResource}
{...(!isTNFEnabled && { initialSelection: getInitialSelection })}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why we need to make initialSelection as optional ??

Suggested change
{...(!isTNFEnabled && { initialSelection: getInitialSelection })}
initialSelection={getInitialSelection}


const filterResource = React.useCallback(
(sc: StorageClassResourceKind) => {
if (!isTNFEnabled) return true;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so for TNF enabled we only use NO_PROVISIONER?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@SanjalKatiyar

Copy link
Copy Markdown
Collaborator

/approve
/lgtm

@openshift-ci

openshift-ci Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SanjalKatiyar, Soundarya189r

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@SanjalKatiyar

Copy link
Copy Markdown
Collaborator

/cherry-pick release-4.22

@openshift-cherrypick-robot

Copy link
Copy Markdown

@SanjalKatiyar: once the present PR merges, I will cherry-pick it on top of release-4.22 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.22

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 8ff5238 into red-hat-storage:master May 13, 2026
5 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown

@SanjalKatiyar: new pull request created: #2806

Details

In response to this:

/cherry-pick release-4.22

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.

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.

4 participants