Added support for different namespaces

Now we can deploy application in different namespaces using the "--namespace=<value>" flag with kompose up and kompose down. The --namepace flag will deploy the application in that particular "namespace" if exist."
This commit is contained in:
Abhishek
2017-04-12 18:40:32 +05:30
parent cba4c569a3
commit f41985a00e
5 changed files with 43 additions and 8 deletions
+2
View File
@@ -48,10 +48,12 @@ type ConvertOptions struct {
InputFiles []string
OutFile string
Provider string
Namespace string
IsDeploymentFlag bool
IsDaemonSetFlag bool
IsReplicationControllerFlag bool
IsDeploymentConfigFlag bool
IsNamespaceFlag bool
}
// ServiceConfig holds the basic struct of a container