Skip to content
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

Prepatory refactoring of BootstrapScript #9402

Merged
merged 2 commits into from
Jun 26, 2020

Conversation

johngmyers
Copy link
Member

In order to issue the kubernetes-master server cert out of nodeup, I'm going to need to pass the loadbalancer IP in userdata. That means the code that is currently in BootstrapScript.ResourceNodeUp() is going to have to run later, after the load balancer IPs have been determined.

This refactoring is in preparation for that. It pulls code out of BootstrapScript.NodeupConfigBuilder that probably should not be run later.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 19, 2020
@k8s-ci-robot k8s-ci-robot requested review from drekle and rdrgmnzs June 19, 2020 05:50
@k8s-ci-robot k8s-ci-robot added the area/provider/openstack Issues or PRs related to openstack provider label Jun 19, 2020
@olemarkus
Copy link
Member

Could perhaps be an opportunity to split some methods, but overall looks good to me.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 21, 2020
@rifelpet
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johngmyers, rifelpet

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 26, 2020
@k8s-ci-robot k8s-ci-robot merged commit 07dc255 into kubernetes:master Jun 26, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Jun 26, 2020
@johngmyers johngmyers deleted the refactor-userdata branch June 26, 2020 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/openstack Issues or PRs related to openstack provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants