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 powerflex 2.6 features(ApproveSdc,RenameSdc) support to csm-operator #176

Merged
merged 5 commits into from
Feb 23, 2023

Conversation

VamsiSiddu-7
Copy link
Contributor

@VamsiSiddu-7 VamsiSiddu-7 commented Feb 23, 2023

Description

This pr adds the Support for Powerflex 2.6 features( ApproveSdc,RenameSdc) to the csm-operator

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#402
dell/csm#583

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Installed the Powerflex Driver with csm-operator by enabling the above features
  • Tested the features

results
results2

  • Sanity Test
    sanity-test

Copy link
Contributor

@rensyct rensyct left a comment

Choose a reason for hiding this comment

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

Please ensure that these variables are also added in unit tests and e2e tests. Currently i dont see changes related to unit tests and e2e tests

// ModifyPowerflexCR - Set environment variables provided in CR
func ModifyPowerflexCR(yamlString string, cr csmv1.ContainerStorageModule, fileType string) string {

approvesdcvalue := ""
Copy link
Contributor

Choose a reason for hiding this comment

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

Please follow the naming convention for variables. Eg approveSdcValue
Same comment for line No 220 and 221

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

# Default value: none
# Examples: "rhel-sdc", "sdc-test"
- name: X_CSI_RENAME_SDC_PREFIX
value: "sdc-test"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be set to the default value which is none?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

bandak2
bandak2 previously approved these changes Feb 23, 2023
@VamsiSiddu-7
Copy link
Contributor Author

Please ensure that these variables are also added in unit tests and e2e tests. Currently i dont see changes related to unit tests and e2e tests

The Changes for the unit tests and e2e tests will come in a separate pr. fyi @abhi16394

@rajendraindukuri rajendraindukuri self-requested a review February 23, 2023 12:36
@rensyct rensyct merged commit e1f58dc into main Feb 23, 2023
@abhi16394 abhi16394 deleted the powerflex-feature branch March 20, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants