Closed pst closed 4 years ago
Please see this comment for more details: https://github.com/kubernetes-sigs/kind/issues/1835#issuecomment-688563971
Hey @pst,
thanks for investigating this further. I see on your connected commits, that you changed it to false but reverted soon after. You weren't able to find an easy fix for this?
Saw the PR after commenting. Drafting a release right now, should be done any moment. Thank you!
Yes, first try in the evening it seemed like it didn't help. But I must have done something wrong. Next morning after Ben's comment on the upstream issue I tried again and it worked.
In the previous release the kubeconfig's
server
attribute was set toserver: https://172.17.0.4:6443
but the new release setsserver: https://kind-ops-localhost-control-plane:6443
.I'm using this kind provider in combination with my kustomize provider for the local development environment of the Kubestack GitOps framework. Unfortunately, after upgrading to the latest release of the kind provider this fails with:
I can see that
provider.KubeConfig
always settrue
for the second parameter, which sounded like it would be related. But a quick hack setting this to false did not seem to restore the previous behavior. I checked upstream in the kind code base but could not find anything that suggests there was a change either. There are mentions of DNS now just working in the release notes. But it's not clear to me if this is related.Any ideas what could have caused this or more importantly how to fix it? For what it's worth, the kubeconfig file created on the filesystem, does specify an IP and works.