forked from LaconicNetwork/kompose
parent
fbe7ac620a
commit
d15183dfe6
@ -117,9 +117,14 @@ func Convert(c *cli.Context) {
|
||||
createRC := c.BoolT("replicationcontroller")
|
||||
createChart := c.BoolT("chart")
|
||||
replicas := c.Int("replicas")
|
||||
singleOutput := len(outFile) != 0 || toStdout
|
||||
singleOutput := len(outFile) != 0 || outFile == "-" || toStdout
|
||||
createDeploymentConfig := c.BoolT("deploymentconfig")
|
||||
|
||||
if outFile == "-" {
|
||||
toStdout = true
|
||||
outFile = ""
|
||||
}
|
||||
|
||||
// Create Deployment by default if no controller has be set
|
||||
if !createD && !createDS && !createRC && !createDeploymentConfig {
|
||||
createD = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user