cli: add --emptyvols option

This commit is contained in:
Dusty Mabe
2016-10-28 16:05:59 -04:00
parent df09fd5193
commit 9ce3f0cf15
4 changed files with 13 additions and 1 deletions
+8
View File
@@ -88,6 +88,10 @@ func ConvertKubernetesCommand() cli.Command {
Name: "chart,c",
Usage: "Create a Helm chart for converted objects",
},
cli.BoolFlag{
Name: "emptyvols",
Usage: "Use Empty Volumes. Don't generate PVCs",
},
cli.BoolFlag{
Name: "deployment,d",
Usage: "Generate a Kubernetes deployment object (default on)",
@@ -119,6 +123,10 @@ func ConvertOpenShiftCommand() cli.Command {
Name: "deploymentconfig,dc",
Usage: "Generate a OpenShift DeploymentConfig object",
},
cli.BoolFlag{
Name: "emptyvols",
Usage: "Use Empty Volumes. Don't generate PVCs",
},
},
}
command.Flags = append(command.Flags, commonConvertFlags()...)