mirror of
https://github.com/rancher/rke.git
synced 2025-05-10 01:15:43 +00:00
Force lowercase node names
This commit is contained in:
parent
1295f64547
commit
b67a67c3bb
@ -3,6 +3,7 @@ package cluster
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/rancher/rke/cloudprovider"
|
||||
"github.com/rancher/rke/docker"
|
||||
@ -100,6 +101,7 @@ func (c *Cluster) setClusterDefaults(ctx context.Context) {
|
||||
c.Nodes[i].Port = DefaultSSHPort
|
||||
}
|
||||
|
||||
c.Nodes[i].HostnameOverride = strings.ToLower(c.Nodes[i].HostnameOverride)
|
||||
// For now, you can set at the global level only.
|
||||
c.Nodes[i].SSHAgentAuth = c.SSHAgentAuth
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user