-
Notifications
You must be signed in to change notification settings - Fork 60
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 SetControlPlaneEndpoint function #1023
🌱 Add SetControlPlaneEndpoint function #1023
Conversation
9d3d062
to
6325626
Compare
@janiskemper. I've made the required changes. Can you please review again? I've squashed my commits |
@janiskemper . I've implemented the recommended changes. Can you please take a look? |
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.
to complete the tests, you should have also two more tests that are rather similar to the last one you have, where you already have a host or a port set so that it does not get updates.
Also you should have a test where both is set already and also doesn't get replaced (maybe by a different value from ControlPlaneLoadBalancer.
So: you can implement three more tests!
@janiskemper I've made the changes. I request you take another look |
I believe that you haven't implemented the additional tests right? |
@janiskemper I did implement the three additional tests you recommended |
true. My bad. You can resolve the two unresolved conversations and then you are done I guess! |
@janiskemper I think we should be good now. I had added a port value for ControlPlaneLoadBalancer.Port too. I think that was unnecessary. I removed that, hence the two commits. |
you can squash now |
fc681d2
to
e31bce6
Compare
@janiskemper i've squashed the commits. Learnt so much with this issue. Thank you |
did you call |
There is still an issue with the CI and hcloud private networks. Merging anyway |
thanks @razashahid107 for this PR :) |
I loved doing this one. Got to learn so much. Thank you for being supportive @janiskemper @batistein |
What this PR does / why we need it:
The following PR addresses the issue #977, and aims to add the function SetControlPlaneEndpoint() and unit tests for it.
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 #977
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
No it does not
TODOs: