Create kubeconfig for each cluster in reconcile function#412
Create kubeconfig for each cluster in reconcile function#412k8s-ci-robot merged 2 commits intokubernetes-sigs:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc 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 |
per issue 413 indicated, we need a masterip in order to create kubeconfig file.
per cluster-api changes, this is needed for provider to create and utilized by cluster-api manager container
| return "", errors.New("MasterIP in cluster spec not set") | ||
| } | ||
| ip = config.MasterIP | ||
| } |
There was a problem hiding this comment.
We have to merge this with this code here:
https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/401/files#diff-266c339b51cf18a076cf106526357c53R70-R78
There was a problem hiding this comment.
I guess this would be in the else branch if ManagedAPIServerLoadBalancer is set to false
There was a problem hiding this comment.
yes, let's work on that patch first then rebase from there
|
/lgtm |
…sigs#412) * Add masterip into clusterproviderspec per issue 413 indicated, we need a masterip in order to create kubeconfig file. * Create secret kubeconfig-<cluster> per cluster-api changes, this is needed for provider to create and utilized by cluster-api manager container
What this PR does / why we need 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 #410
Fixes #413
Special notes for your reviewer:
Release note: