mirror of https://github.com/k3s-io/k3s
Add warning for multiclustercidr flag (#8758)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>pull/8778/head
parent
ba5fcf13fc
commit
f5920d7864
|
@ -190,6 +190,9 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont
|
|||
logrus.Info("ETCD snapshots are disabled")
|
||||
}
|
||||
|
||||
if cfg.MultiClusterCIDR {
|
||||
logrus.Warn("multiClusterCIDR alpha feature will be removed in future releases")
|
||||
}
|
||||
if cfg.ClusterResetRestorePath != "" && !cfg.ClusterReset {
|
||||
return errors.New("invalid flag use; --cluster-reset required with --cluster-reset-restore-path")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue