mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Disable kubeapi port check if wrap transport is used
This commit is contained in:
committed by
Darren Shepherd
parent
27428ed005
commit
f76f954b42
@@ -230,9 +230,12 @@ func (c *Cluster) CheckClusterPorts(ctx context.Context, currentCluster *Cluster
|
||||
if err := c.runServicePortChecks(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := c.checkKubeAPIPort(ctx); err != nil {
|
||||
return err
|
||||
if c.K8sWrapTransport == nil {
|
||||
if err := c.checkKubeAPIPort(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return c.removeTCPPortListeners(ctx)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user