Janet Kuo
c9ed84f597
Merge pull request #249 from dustymabe/dusty-fix-readonly
...
CreatePVC: correct setting of read/only access
2016-11-03 13:48:56 -07:00
sebgoa
00331589a3
Fix license headers, This closes #223
2016-11-01 15:01:27 +01:00
Dusty Mabe
6523da8120
CreatePVC: correct setting of read/only access
...
Fixes #237
Also update the code to use the constant values for api.ReadWriteOnce
and api.ReadOnlyMany.
2016-11-01 09:17:40 -04:00
Tomas Kral
d9c5de661a
Merge pull request #248 from dustymabe/dusty-empty-vols
...
Adding support for choosing empty volumes
2016-10-30 17:49:50 +02:00
Janet Kuo
20a13d3eef
Merge pull request #254 from dustymabe/dusty-deployment-deploymentconfig
...
Match case with API objects when printing to terminal
2016-10-28 17:38:04 -07:00
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
48aa4c7f7a
transformers: match API object capitalization in text output
2016-10-28 15:22:40 -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
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
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
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
f8f737be7b
move to kubernetes-incubator
...
update imports to reflect move to kubernetes-incubator
2016-10-17 18:14:29 +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
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
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
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
Tuna
4f36dca026
fix #121 : update all objects, even when port is missing
2016-08-24 00:07:38 +07:00
Janet Kuo
46594698db
Remove hostPath and print warnings
2016-08-22 13:25:58 -07:00
Suraj Deshmukh
6ce3c92937
Reuse creation of controller object code
...
The repated controller creation code has been removed. And
aggregated it into a single function, that Kubernetes and OpenShift
providers' Transform code can call.
2016-08-18 14:18:12 +05:30
Suraj Deshmukh
a03b6af50a
Removed unwanted svcnames list
...
Transform function from both the providers has some unused
data structure so removed it.
2016-08-18 12:21:38 +05:30
Suraj Deshmukh
163a06df27
Create service function in kubernetes utils
...
This function can be used in both openshift and kubernetes and all the logic
of creating service can be kept in this function.
2016-08-17 09:54:17 +05:30
Janet Kuo
e36f38446b
Merge pull request #105 from janetkuo/convert-container-name-args
...
Support container name and args in kompose convert
2016-08-16 10:54:25 -07:00
Janet Kuo
c18288a023
Add more unit tests for Transform
2016-08-16 10:43:44 -07:00
Suraj Deshmukh
c281bfdda8
Abstracted port checking function
...
To reduce the inconsistency of message printing created a
function which can be called from both kubernetes and openshift
2016-08-16 14:28:14 +05:30
Janet Kuo
4027fcdda6
Support container name and args in kompose convert
2016-08-15 10:53:15 -07:00
Janet Kuo
14726f1a53
Add unit test for komposeConvert
2016-08-12 18:21:56 -07:00
Tuna
baedd92036
move k8s base functions into k8s package
2016-08-12 00:46:03 +07:00
Tuna
f10d6afecf
make loader, transformer as interfaces
2016-08-11 23:33:45 +07:00