mirror of https://github.com/kubernetes/kops.git
Revert "Initial DO commit to rebase from plane"
This reverts commit 49dd9aa179
.
This commit is contained in:
parent
687ff420b4
commit
59716ff06a
|
@ -137,7 +137,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
||||||
cmd.Flags().StringVar(&options.Target, "target", options.Target, "Target - direct, terraform, cloudformation")
|
cmd.Flags().StringVar(&options.Target, "target", options.Target, "Target - direct, terraform, cloudformation")
|
||||||
cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)")
|
cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)")
|
||||||
|
|
||||||
cmd.Flags().StringVar(&options.Cloud, "cloud", options.Cloud, "Cloud provider to use - gce, aws, do")
|
cmd.Flags().StringVar(&options.Cloud, "cloud", options.Cloud, "Cloud provider to use - gce, aws")
|
||||||
|
|
||||||
cmd.Flags().StringSliceVar(&options.Zones, "zones", options.Zones, "Zones in which to run the cluster")
|
cmd.Flags().StringSliceVar(&options.Zones, "zones", options.Zones, "Zones in which to run the cluster")
|
||||||
cmd.Flags().StringSliceVar(&options.MasterZones, "master-zones", options.MasterZones, "Zones in which to run masters (must be an odd number)")
|
cmd.Flags().StringSliceVar(&options.MasterZones, "master-zones", options.MasterZones, "Zones in which to run masters (must be an odd number)")
|
||||||
|
|
|
@ -96,11 +96,6 @@ type ApplyClusterCmd struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ApplyClusterCmd) Run() error {
|
func (c *ApplyClusterCmd) Run() error {
|
||||||
|
|
||||||
fmt.Println("We got here!")
|
|
||||||
fmt.Println(c.Cluster.Spec)
|
|
||||||
os.Exit(1)
|
|
||||||
|
|
||||||
if c.MaxTaskDuration == 0 {
|
if c.MaxTaskDuration == 0 {
|
||||||
c.MaxTaskDuration = DefaultMaxTaskDuration
|
c.MaxTaskDuration = DefaultMaxTaskDuration
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue