Skip to content

Commit

Permalink
do not set default cri on client-side (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwennrich authored Feb 5, 2021
1 parent 286f345 commit 13ae475
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func init() {
clusterCreateCmd.Flags().String("firewalltype", "", "machine type to use for the firewall. [optional]")
clusterCreateCmd.Flags().String("firewallimage", "", "machine image to use for the firewall. [optional]")
clusterCreateCmd.Flags().String("firewallcontroller", "", "version of the firewall-controller to use. [optional]")
clusterCreateCmd.Flags().String("cri", "docker", "container runtime to use, only docker|containerd supported as alternative actually. [optional]")
clusterCreateCmd.Flags().String("cri", "", "container runtime to use, only docker|containerd supported as alternative actually. [optional]")
clusterCreateCmd.Flags().Int32("minsize", 1, "minimal workers of the cluster.")
clusterCreateCmd.Flags().Int32("maxsize", 1, "maximal workers of the cluster.")
clusterCreateCmd.Flags().String("maxsurge", "1", "max number (e.g. 1) or percentage (e.g. 10%) of workers created during a update of the cluster.")
Expand Down Expand Up @@ -454,6 +454,7 @@ func clusterCreate() error {
switch cri {
case "containerd":
case "docker":
case "":
default:
log.Fatalf("provided cri:%s is not supported, only docker or containerd at the moment", cri)
}
Expand Down

0 comments on commit 13ae475

Please # to comment.