-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
chore: Refactor OpenStackSDConfig #7244
chore: Refactor OpenStackSDConfig #7244
Conversation
Hey! thanks for the contribution. |
@mviswanathsai Hi, I completed all of the requirements already. Please review. |
@mviswanathsai Hi, do you have any chance to take a look at my PR? |
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.
For string fields we need to add the minlength validation
// +kubebuilder:validation:MinLength:=1
67501de
to
3ad9eda
Compare
@mviswanathsai @slashpai Hi, I fixed already. Please review. Thank you! |
Can you add testcases for all the fields updated in API in e2e test file? |
df8b8f7
to
59a82e9
Compare
@slashpai I updated the pattern as suggested already along with the new test cases to cover field updates. |
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.
Great job with the extensive testcases, just one comment.
CC: @slashpai
@mviswanathsai I added 2 more cases to cover the missing required fields. |
1da29f8
to
25528db
Compare
@mviswanathsai Update the code with rebase from the main branch. Please review. |
Co-authored-by: Jayapriya Pai <[email protected]>
- Add Valid/Invalid for All Changed Variables
- Role with no Region - Region with no Role
39a76d8
to
0f6c0fa
Compare
LGTM! |
@slashpai any action needed from my side? |
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.
Thank you, lgtm
Description
Refactor OpenStackSDConfig
Type of change
What type of changes does your code introduce to the Prometheus operator? Put an
x
in the box that apply.CHANGE
(fix or feature that would cause existing functionality to not work as expected)FEATURE
(non-breaking change which adds functionality)BUGFIX
(non-breaking change which fixes an issue)ENHANCEMENT
(non-breaking change which improves existing functionality)NONE
(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Verification
Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.
Changelog entry
Fixes #7209