mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
Bastion host
This commit is contained in:
@@ -72,7 +72,10 @@ func (c *Cluster) InvertIndexHosts() error {
|
||||
newHost.ToAddLabels[k] = v
|
||||
}
|
||||
newHost.IgnoreDockerVersion = c.IgnoreDockerVersion
|
||||
|
||||
if c.BastionHost.Address != "" {
|
||||
// Add the bastion host information to each host object
|
||||
newHost.BastionHost = c.BastionHost
|
||||
}
|
||||
for _, role := range host.Role {
|
||||
logrus.Debugf("Host: " + host.Address + " has role: " + role)
|
||||
switch role {
|
||||
|
Reference in New Issue
Block a user