Merge pull request #14 from kairos-io/remove-cluster-init

removed cluster init flag
This commit is contained in:
Jacob Payne
2022-11-02 08:07:19 -07:00
committed by GitHub

View File

@@ -20,7 +20,6 @@ const (
) )
type RKE2Config struct { type RKE2Config struct {
ClusterInit bool `yaml:"cluster-init"`
Token string `yaml:"token"` Token string `yaml:"token"`
Server string `yaml:"server"` Server string `yaml:"server"`
TLSSan []string `yaml:"tls-san"` TLSSan []string `yaml:"tls-san"`
@@ -37,7 +36,6 @@ func clusterProvider(cluster clusterplugin.Cluster) yip.YipConfig {
} }
if cluster.Role == clusterplugin.RoleInit { if cluster.Role == clusterplugin.RoleInit {
rke2Config.ClusterInit = true
rke2Config.Server = "" rke2Config.Server = ""
} }