-
Notifications
You must be signed in to change notification settings - Fork 76
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
Use the COS endpoint override when generating bootstrap ignition #1860
Use the COS endpoint override when generating bootstrap ignition #1860
Conversation
|
Welcome @mjturek! |
Hi @mjturek. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Karthik-K-N @Prajyot-Parab please let me know what you think of this |
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.
I didn't get a chance to test this, I hope you have done it.
Overall it LGTM.
Thank you for the PR
cloud/scope/powervs_machine.go
Outdated
|
||
cosServiceEndpoint := endpoints.FetchEndpoints(string(endpoints.COS), m.ServiceEndpoint) | ||
if cosServiceEndpoint != "" { | ||
m.Logger.V(3).Info("Overriding the default COS endpoint in bootstrap ignition", "cosEndpoint", cosServiceEndpoint) |
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.
In general it may not be only for bootstrap ignition URL, How about this
m.Logger.V(3).Info("Overriding the default COS endpoint in bootstrap ignition", "cosEndpoint", cosServiceEndpoint) | |
m.Logger.V(3).Info("Overriding the default COS endpoint in ignition URL", "cosEndpoint", cosServiceEndpoint) |
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.
Done!
@mjturek please sign the CLA by following the steps mentioned here - https://github.ibm.com/powercloud/container-dev/blob/master/squad-upstream-core.md#get-access-to-the-k8s-cla |
/ok-to-test |
When overridding the COS endpoint in the disconnected use case, we'll need to also grab ignition from the same endpoint.
f9c2d92
to
560153e
Compare
unfortunately Jeff is out this week so might not get CLA complete until next week |
@mkumatag CLA is complete |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mjturek, mkumatag 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: When overridding the COS endpoint in the disconnected use case, we'll need to also grab ignition from the same endpoint. This PR uses the COS endpoint override when generating the ignition config for the bootstrap machine.
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 #
Special notes for your reviewer:
/area provider/ibmcloud
Release note: