-
Notifications
You must be signed in to change notification settings - Fork 8
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
Powerflex secret zone validation #833
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drivers.ExtractZones. Fixed up existing unit-tests to pass around a proper secret, rather than the "csm" value currently used, as this causes the ExtractZones() to fail on parsing during unit-testing.
key-value pair. ZoneValidation function filled in to continue correct zone validation. Unit Test code updated including infra client List code to match on labels.
…t-test bring up back to 90.0% coverage.
node labels anymore. Removing the directly associated unit test code as well. Fixing powerflex validate zone code to check that all arrays have zone detail if there is at least one array with zone detail.
anathoodell
requested review from
abhi16394,
mbasha-dell,
alikdell,
bharathsreekanth,
chimanjain,
coulof,
Deepak-Ghivari,
gallacher,
gilltaran,
harishp8889,
HarishH-DELL,
JacobGros and
jooseppi-luna
as code owners
December 19, 2024 04:00
EvgenyUglov
reviewed
Dec 19, 2024
EvgenyUglov
reviewed
Dec 19, 2024
EvgenyUglov
reviewed
Dec 19, 2024
EvgenyUglov
reviewed
Dec 19, 2024
EvgenyUglov
reviewed
Dec 19, 2024
EvgenyUglov
reviewed
Dec 19, 2024
anathoodell
requested review from
EvgenyUglov,
alexemc,
gallacher and
JacobGros
December 19, 2024 15:06
JacobGros
previously approved these changes
Dec 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
alexemc
requested changes
Dec 19, 2024
labelValue or Name are either not specified or are empty values. Cleaned up test code and added test cases for these scenarios.
alexemc
reviewed
Dec 19, 2024
alexemc
reviewed
Dec 19, 2024
JacobGros
previously approved these changes
Dec 19, 2024
alexemc
approved these changes
Dec 19, 2024
JacobGros
approved these changes
Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
CSM-Operator Zone Validation function is added to validate zone configuration prior to installation (pre-checks). If the Zone validation fails, the CSM object remains in a failed state.
Validation is limited to the powerflex secret only. No node label checks are done.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Unit tests added and run to maintain coverage numbers. Basic pflex E2E scenarios run as well.
if zone validation fails - this event is logged in the csm cr.