mirror of
https://github.com/openshift/installer.git
synced 2026-02-06 00:48:45 +01:00
Merge pull request #5218 from omertuc/bipnocreate
Block `create cluster` if bootstrapInPlace is set in install-config
This commit is contained in:
@@ -67,6 +67,10 @@ func (c *Cluster) Generate(parents asset.Parents) (err error) {
|
||||
return errors.New("cluster cannot be created with platform set to 'none'")
|
||||
}
|
||||
|
||||
if installConfig.Config.BootstrapInPlace != nil {
|
||||
return errors.New("cluster cannot be created with bootstrapInPlace set")
|
||||
}
|
||||
|
||||
platform := installConfig.Config.Platform.Name()
|
||||
stages := platformstages.StagesForPlatform(platform)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user