-
Notifications
You must be signed in to change notification settings - Fork 261
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 conversion of IdentityRef converting between v1alpha4 and v1beta1 #1066
🐛Fix conversion of IdentityRef converting between v1alpha4 and v1beta1 #1066
Conversation
✔️ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready! 🔨 Explore the source changes: db5a9d2 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/61a4e1253a71b00007e5e279 😎 Browse the preview: https://deploy-preview-1066--kubernetes-sigs-cluster-api-openstack.netlify.app |
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.
Overall lgtm, some nits.
/lgtm |
ed9fc2b
to
a4b40b1
Compare
+1 for the new conversion unit tests, this is really much more readable 👌🏻 |
Apart from more readable they're also significantly more thorough! They uncovered some missing pieces of CloudSecret<->IdentityRef conversion which I've hopefully rectified here. |
/lgtm |
a4b40b1
to
8a33a6f
Compare
8a33a6f
to
db5a9d2
Compare
/lgtm |
/lgtm |
/approve thanks for the test cases :) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc, mdbooth The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
The most interesting parts of this PR are the new unit tests. The tests are little more than a 'do the fields line up' test, but they did highlight that we were missing conversion of IdentityRef.
I will be adding to these tests in #1030
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1065 #1060