cli: add --emptyvols option
This commit is contained in:
@@ -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()...)
|
||||
|
||||
Reference in New Issue
Block a user