-
Notifications
You must be signed in to change notification settings - Fork 139
Render CIDR blocks in bootstrapping phase #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
Render CIDR blocks in bootstrapping phase #76
Conversation
|
cc @sttts |
| } | ||
| var clusterk8sio clusterv1a1.Cluster | ||
| if err := yaml.Unmarshal([]byte(clusterConfigFileData), &clusterk8sio); err != nil { | ||
| return err |
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.
add some error context
|
Some nits. Otherwise lgtm 👍 |
fc1d930 to
786ce58
Compare
| manifest: *genericrenderoptions.NewManifestOptions("kube-controller-manager", "openshift/origin-hyperkube:latest"), | ||
| generic: *genericrenderoptions.NewGenericOptions(), | ||
| errOut: errOut, | ||
| clusterConfigFile: "/assets/tectonic/99_openshift-cluster-api_cluster.yaml", |
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.
would leave this out actually. Otherwise we keep installer details around here for ages.
6ef4455 to
2613378
Compare
|
Lgtm. Now let's get e2e-aws green :) |
|
/retest |
2613378 to
d7573c4
Compare
|
@sttts all green now, could you give an /lgtm so that we can also get openshift/installer#612 to pass? |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damemi, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As mentioned in openshift/cluster-kube-apiserver-operator#105 (comment), this passes necessary CIDR information available on the bootstrap node to the operator for rendering as part of bootstrap phase startup.