-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix(k8s): correct 0.12 => 0.13
service resource conversion
#5272
Conversation
c7e9586
to
4b34f44
Compare
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.
Looks really good to me!
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.
Thanks @vvagaytsev Fix looks great, but the tests are failing. Please check that.
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.
One test failures around expecting containerName
.
@twelvemo @shumailxyz thank you! I've pushed the test fixes in the most recent commit. Let's wait for the CI completion. |
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.
Tests looking good now too! Thanks so much for the fast fix!
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. Thanks 👍
What this PR does / why we need it:
This PR ensures the the module conversion respects the 0.13 schema validation rules, which are now stricter than in 0.12.
Which issue(s) this PR fixes:
Fixes #5269
Special notes for your reviewer:
A new function
convertServiceResourceSpec
was extracted to take more specific input parameters and to do the spec-to-spec conversion. This also allowed making the unit test data preparation way easier.