mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 22:46:25 +00:00
make cluster.yml optional in --local
This commit is contained in:
@@ -298,13 +298,3 @@ func (c *Cluster) ApplyAuthzResources(ctx context.Context) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func GetLocalRKENodeConfig() *v3.RKEConfigNode {
|
||||
rkeLocalNode := &v3.RKEConfigNode{
|
||||
Address: LocalNodeAddress,
|
||||
HostnameOverride: LocalNodeHostname,
|
||||
User: LocalNodeUser,
|
||||
Role: []string{services.ControlRole, services.WorkerRole, services.ETCDRole},
|
||||
}
|
||||
return rkeLocalNode
|
||||
}
|
||||
|
Reference in New Issue
Block a user