mirror of https://github.com/kubernetes/kops.git
Merge pull request #12270 from hakman/break_for_non-placeholder_ip
Try to bootstrap when at least one IP is available
This commit is contained in:
commit
943c40bf38
|
|
@ -168,7 +168,9 @@ func (b *KopsBootstrapClient) QueryBootstrap(ctx context.Context, req *nodeup.Bo
|
|||
return nil, err
|
||||
} else {
|
||||
for _, ip := range ips {
|
||||
if ip.String() == cloudup.PlaceholderIP {
|
||||
if ip.String() != cloudup.PlaceholderIP {
|
||||
break
|
||||
} else {
|
||||
return nil, fi.NewTryAgainLaterError(fmt.Sprintf("kops-controller DNS not setup yet (placeholder IP found: %v)", ips))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue