Make defaulting optional during conversion generation

Set the Kubernetes default to "no defaulting"
This commit is contained in:
Clayton Coleman
2016-09-25 12:08:19 -04:00
parent 4f8d1a86e5
commit f294175d60
2 changed files with 12 additions and 3 deletions

View File

@@ -60,6 +60,7 @@ func main() {
"k8s.io/kubernetes/pkg/conversion",
"k8s.io/kubernetes/pkg/runtime",
},
SkipDefaulters: true,
}
pflag.CommandLine.StringSliceVar(&customArgs.ExtraPeerDirs, "extra-peer-dirs", customArgs.ExtraPeerDirs,
"Comma-separated list of import paths which are considered, after tag-specified peers, for conversions.")