Merge pull request #692 from magicsong/nsnp

support calico with k8s storage
This commit is contained in:
KubeSphere CI Bot
2019-09-08 14:13:49 +08:00
committed by GitHub
18 changed files with 233 additions and 15 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
}