add roles support for worker nodes
This commit is contained in:
@@ -29,6 +29,7 @@ type Config struct {
|
||||
InventoryDir string
|
||||
Verbose bool
|
||||
KubeconfigFile string
|
||||
Forks string `yaml:"forks" env-default:"10"`
|
||||
InstallationName string `yaml:"installation_name" env-default:"cluster.local"`
|
||||
Credentials struct {
|
||||
User string `yaml:"user"`
|
||||
@@ -37,7 +38,10 @@ type Config struct {
|
||||
PrivateKeyFile string `yaml:"private_key_file"`
|
||||
} `yaml:"credentials"`
|
||||
|
||||
Hosts []Host `yaml:"hosts"`
|
||||
Hosts struct {
|
||||
Masters []Host `yaml:"master"`
|
||||
Workers []Host `yaml:"worker"`
|
||||
} `yaml:"hosts"`
|
||||
|
||||
Orchestrator Orchestrator `yaml:"orchestrator"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user