Commit Graph
65 Commits
Author SHA1 Message Date
Dusty Mabe 9ce3f0cf15 cli: add --emptyvols option 2016-10-28 16:05:59 -04:00
Dusty Mabe df09fd5193 ConfigVolumes: enable creating EmptyDir volumes again
Will enable the user to specify which type of volume they want
in a subsequent commit.
2016-10-28 16:05:59 -04:00
Dusty Mabe 30752b7b93 ConfigVolumes: rename pvc var to PVCs
It is a list of persistent volume claims.
2016-10-28 16:05:59 -04:00
Dusty Mabe f290cd6541 ConfigVolumes: rename volumesMount to volumeMounts 2016-10-28 16:05:59 -04:00
Dusty Mabe 51dea8283a transformers: add Opt variable as object data
This is so you can set Opts on instance creation of
kubernetes.Kubernetes and openshift.Openshift. This is useful
so that we can pass option information arround without having
to do it on the call stack every time.
2016-10-27 11:48:35 -04:00
Dusty Mabe c5e07f4926 transformers: make Openshift Inherit from Kubernetes 2016-10-27 11:48:24 -04:00
Tomas Kral 1280b9abcb Merge pull request #189 from procrypt/labels
Configure service types
2016-10-27 12:25:29 +02:00
Tuna da44a5d750 Merge pull request #229 from ngtuna/experimental
remove tag experimental
2016-10-26 16:35:11 +02:00
Tuna 7435f822ed Merge pull request #230 from ngtuna/unsupportedkey
update unsupported key list
2016-10-25 15:29:31 +02:00
Tuna c29ef944ce correct networks key 2016-10-24 21:47:16 +02:00
Suraj Deshmukh b068c5cf81 Merge pull request #190 from surajssd/support-volumes-from
support for volumes_from docker-compose construct
2016-10-23 21:40:14 +05:30
Suraj Deshmukh aea39b4e1e Merge pull request #220 from surajssd/pvc-kompose-up
kompose up/down create and delete pvc
2016-10-22 09:33:53 +05:30
Suraj Deshmukh 244499667d kompose up/down create and delete pvc
pvc will be parsed when passing objects via kube client
to create various objects.
Also while deleting pvc will be deleted.

Fixes #218
2016-10-22 09:22:57 +05:30
Tuna 99055b4d1b update unsupported key list 2016-10-21 22:55:14 +02:00
Tuna 670d8423e5 remove tag experimental 2016-10-21 01:40:34 +02:00
Abhishek 841d28192f configure service types 2016-10-21 04:02:15 +05:30
Tuna df533a2bd7 choose separator which happens first 2016-10-20 22:13:13 +02:00
Tuna 1fdaffe540 support both : and = as envvar separators 2016-10-20 21:16:43 +02:00
Suraj Deshmukh fd09efed43 support for volumes_from docker-compose construct
Now a user can provide volumes_from to share volumes
from other service so here the PVC created for that
service will be shared by service calling volumes_from
2016-10-19 09:15:47 +05:30
Tomas Kral 1f8a0e06c9 Upgrade OpenShift and its dependencies.
OpenShift version 1.4.0-alpha.0
2016-10-18 12:04:00 +02:00
Tomas Kral 5e1a5cbb3b kompose up for openshift
kompose --provider openshift up
2016-10-18 12:03:50 +02:00
Tomas Kral f8f737be7b move to kubernetes-incubator
update imports to reflect move to kubernetes-incubator
2016-10-17 18:14:29 +02:00
Tuna 592cc95907 upgrade libcompose to fbdac0a6a80837c63eb6c8f43514f7bb3f32df6c 2016-10-09 02:35:51 +02:00
Tuna 12d6e87454 Merge pull request #186 from surajssd/create-pvc
Create PVC object for docker-compose volumes
2016-10-06 21:39:21 +02:00
Suraj Deshmukh e879164c2e Create PVC object for docker-compose volumes
Instead of creating emptydir, create PersistentVolumeClaim
for docker-compose volumes by default

Fixes #150
2016-10-06 17:58:17 +05:30
Suraj Deshmukh b969f7aa44 --provider global flag for kompose
Now a user can select a provider using global flag
--provider=openshift to select openshift provider
or --provider-kubernetes to select kubernetes provider
if nothing is provided kubernetes is the default provider.

Fixes #179
2016-10-06 09:37:54 +05:30
Tomas Kral 21cc608eec Merge pull request #166 from kadel/multiprovider-up
Prepare up/down for other providers
2016-09-28 15:32:06 +02:00
Tomas Kral 6f1d01a809 OpenShift - generate DeploymentConfig with ImageStream. 2016-09-27 10:28:11 +02:00
Tomas Kral 799345a6f9 Prepare up/down for other providers 2016-09-26 11:31:07 +02:00
Tomas Kral 16ca1aa136 kompose up - Get namespace from kubeconfig 2016-09-22 13:08:13 +02:00
Tomas Kral ed711804fe Add port protocol handing for docker-compose. 2016-09-19 14:36:05 +02:00
Tuna 0c33e7e965 Use libcompose project.Context{} instead of docker.Context{}
Fix #134
2016-09-05 23:24:24 +07:00
Tomas Kral b2add4163f Merge pull request #127 from kadel/entrypoint
docker-compose - Entrypoint support
2016-09-05 10:50:20 +02:00
Tomas Kral cc4f162cea Remove Entrypoint from Kompose object
We had Command and Args together with Entrypoint in Kompose object.
This doesn't make much sense, as Entrypoint and Command are same thing.
I've removed Entrypoint from Kompose object in favor of Command to keep
same naming convensions as in Kubernetes.

Entrypoint from docker-compose.yml is now saved to Command and Command
is saved to Args (http://kubernetes.io/docs/user-guide/containers/).

docker-compose.yml | Kompose object
-------------------|---------------
  Entrypoint       |    Command
   Command         |     Args
2016-09-02 10:10:34 +02:00
Tomas Kral 8590a98504 docker-compose - fix Command and add Entrypoint support 2016-09-02 10:10:34 +02:00
Tomas Kral e2da0f089a Make sure that Services are first in the List
Sorts objects in Transform function, this should
make sure that Services are first everywhere as
long as we keep order in the slice that Transform returns.

fixes #130
2016-09-02 10:09:00 +02:00
Tomas Kral b24556e9d5 fixes #124
add missing conversion to versioned object when saving to files
2016-09-02 09:49:11 +02:00
Tuna f2769066ca only print warning and keep deleting objects 2016-09-02 10:10:48 +07:00
Tuna aafba39a42 use reapers to delete objects 2016-09-02 10:10:48 +07:00
Tuna e08ab06f2c support kompose down 2016-09-02 10:10:48 +07:00
runseb aa71e96175 improve messages of kompose up 2016-08-31 15:54:54 +02:00
Tuna 82ae7fab78 clean code 2016-08-25 00:34:54 +07:00
Tuna 3f94d778d7 Merge pull request #122 from ngtuna/update-objects
fix #121: update all objects, even when port is missing
2016-08-24 15:04:27 +07:00
Janet Kuo 9c03ae9cf4 Merge pull request #118 from janetkuo/remove-hostpath
Remove hostPath and print warnings
2016-08-23 22:19:04 -07:00
Janet Kuo 4d0960fea8 Merge pull request #119 from janetkuo/improve-err-message
Improve error message for invalid port
2016-08-23 11:07:08 -07:00
Tuna c038b184f1 follow-up: update for openshift 2016-08-24 00:34:16 +07:00
Tuna 4f36dca026 fix #121: update all objects, even when port is missing 2016-08-24 00:07:38 +07:00
Janet Kuo 332c5b2c35 Improve error message for invalid port 2016-08-22 14:26:23 -07:00
Janet Kuo 46594698db Remove hostPath and print warnings 2016-08-22 13:25:58 -07:00
Tomas Kral b3017199b6 some items in libcompose ServiceConfig changed type 2016-08-22 10:51:38 +02:00