suppor k8s node etcd

This commit is contained in:
magicsong
2019-09-02 16:54:34 +08:00
parent f22e8ea90e
commit 82f5309a1c
18 changed files with 232 additions and 14 deletions

View File

@@ -12,6 +12,7 @@ var opt runoption.RunOption
func init() {
flag.StringVar(&opt.ProviderName, "np-provider", "calico", "specify the network policy provider, k8s or calico")
flag.BoolVar(&opt.AllowInsecureEtcd, "allow-insecure-etcd", false, "specify allow connect to etcd using insecure http")
flag.StringVar(&opt.DataStoreType, "datastore-type", "k8s", "specify the datastore type of calico")
//TODO add more flags
}