Commit Graph
25 Commits
Author SHA1 Message Date
Abhishek 683db1230d move git and related functions from openshift. go into a separate file 2017-08-11 15:19:06 +05:30
Abhishek 1401a39cbd Changing printf verb %s to %v in compose_test.go 2017-06-20 09:58:22 +05:30
Abhishek c8881f5aa4 update created artifacts for k8s and openshift
update created artifacts for kubernetes and openshift so that env variables are populated in a particular order
2017-06-16 12:35:27 +05:30
Abhishek c40bb4bb3a change volume name with generated deployment file
if volumes in docker file is defined as
      volumes:
        - .:/code
    Then the PVC created by kompose will containes .(dot) in it.
       .-persistentvolumeclaim.yaml
2017-06-14 14:31:07 +05:30
Abhishek 719dae97e4 Environment variabled are populated in random order, causing functional tests in golang #518 to fail 2017-06-14 12:58:56 +05:30
Abhishek 529e6c674f sort output when creating kubernetes/openshift objects 2017-05-09 23:56:54 +05:30
Abhishek 7eccb37c19 fix driver:local in prefixing volumes
If we have a docker-file with root level volumes and we do a kompose up
using that docker-file, libcompose will add an additional _ followed by
the current directory name. Since kubernetes doesn't allow _ in the
objects created so kompose up will fail to deploy it. As a solution we
replace _ to - and we can then deploy it successfully.
2017-04-26 20:14:22 +05:30
Abhishek 30e39e094c Add warning about change in the service name of docker-compose file that contains _ in it to - 2017-04-26 19:53:57 +05:30
Abhishek ec85012a8c typo in nginx name 2017-04-25 11:14:35 +05:30
Abhishek f41985a00e 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."
2017-04-12 18:40:32 +05:30
Abhishek 6e0b934f77 Propagate underscores into valid names
Now we can provide service name with "_" in docker-compose files and they will by converted as "-" in the generated artifacts by kompose eg, if the service name in docker-compose file is "foo_bar" then it will be converted into "foo-bar" in the generated artifacts
2017-04-03 13:06:33 +05:30
Abhishek d212758856 vendor update 2017-03-24 00:31:39 +05:30
Abhishek 55ad1d9b1f delete objects based on label
This PR uses the "SelectorFromSet()" function which takes alabel or
selector as an argument returns all the object that uses that label or
selector. Once we get the object that uses a particular label we can
further do the delete operation on them. This is similar to "kubectl
delete <object> --selector=<key>=<value>". Also the label has been
modified from service to io.kompose.service.
2017-03-24 00:31:33 +05:30
Abhishek a539e44d94 unsupported keys 2017-03-02 11:09:31 +05:30
Abhishek 082e2351a0 abstract_out_api.PodSpec 2017-02-22 20:25:55 +05:30
Abhishek 7a12a16dc7 Unit test for error out if controller object is specified with restart: on-failure 2017-02-13 12:41:16 +05:30
Abhishek 846812677d add buildConfig support to kompose down 2017-02-06 17:24:04 +05:30
Abhishek 1ecd32a362 error out if controller object is specified with "restart: on-failure" 2017-01-30 17:52:36 +05:30
Abhishek 96a0572f50 added support for docker-compose.yaml besides docker-compose.yml 2017-01-23 13:30:33 +05:30
Abhishek cfcbfa8c6d make default kompose conversion YAML 2017-01-04 12:50:56 +05:30
Abhishek a5a3805760 added support for multiple-compose files 2017-01-03 17:18:34 +05:30
Abhishek 6ad54a36e2 added support for OpenShift down 2016-12-15 11:06:00 +05:30
Abhishek e5abd3386a Update main.go path 2016-11-03 14:49:24 +05:30
Abhishek 1c3092150f remove unknown args and added tests 2016-10-21 12:08:09 +05:30
Abhishek 841d28192f configure service types 2016-10-21 04:02:15 +05:30