Commit Graph

97 Commits

Author SHA1 Message Date
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
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
55f6e75573 Merge pull request #160 from kadel/add-imagestream
OpenShift - generate DeploymentConfig with ImageStream
2016-09-28 15:31:39 +02:00
Tomas Kral
6f1d01a809
OpenShift - generate DeploymentConfig with ImageStream. 2016-09-27 10:28:11 +02:00
Tuna
d15183dfe6 support -o - to stdout
fix #169
2016-09-26 23:29:21 +02:00
Tomas Kral
799345a6f9
Prepare up/down for other providers 2016-09-26 11:31:07 +02:00
Tomas Kral
c593ff8e44 Merge pull request #168 from kadel/global-dab
Make --dab/--bundle global flag
2016-09-26 11:19:43 +02:00
Tomas Kral
3ce0519a82
Make --dab global flag 2016-09-23 15:11:04 +02:00
Tomas Kral
16ca1aa136
kompose up - Get namespace from kubeconfig 2016-09-22 13:08:13 +02:00
Suraj Deshmukh
57c460cc50 dded flag --suppress-warnings, --verbose, --error-on-warning global flags
- `--suppress-warnings` it ignores all warnings.
- `--verbose` displays everything
- `--error-on-warning` with any warning exits displaying error.

Fixes #100
2016-09-16 10:37:43 +05:30
Tuna
0bad1674b5 make --file as global flag 2016-09-06 22:36:12 +07: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
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
Tuna
d532b29d95 clean code 2016-08-11 23:31:20 +07:00
Tuna
e867d35e39 creat kobject package, make loader and transformer refering to it 2016-08-11 23:31:20 +07:00
Tuna
85b0b6a2b8 breaking app.go into loader and transformer, to be continue 2016-08-11 23:28:49 +07:00
Suraj Deshmukh
04d1d65552 Output List kind object when using stdout
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes #73
2016-08-11 09:12:45 +00:00
Tuna
14cf356a08 Merge pull request #90 from ngtuna/unsupported-keys
enhance warning: networks, network config, volume config. Fixes #88, #71
2016-08-10 10:27:15 +07:00
Tuna
908a2563f1 fixing typos 2016-08-10 10:09:27 +07:00
Tuna
8a607c84e0 fixing typoes 2016-08-09 11:12:05 +07:00
Tuna
8ddadfca88 enhance warning: networks, network config, volume config. Fixes #88, #71 2016-08-06 23:44:56 +07:00
Tuna
278d1dba8e rebase 2016-08-05 00:46:12 +07:00
Tuna
37d51e7e10 correct printing message 2016-08-05 00:31:16 +07:00
Tuna
8a8a063703 support kompose up 2016-08-05 00:31:16 +07:00
Tuna
c4d62c99ee Merge pull request #84 from janetkuo/labels-to-annotations
Converting compose labels to k8s annotations
2016-08-05 00:28:38 +07:00
Janet Kuo
b71b70e0d9 Converting compose labels to k8s annotations 2016-08-04 09:57:04 -07:00
Janet Kuo
4cf1875e5e Merge pull request #83 from janetkuo/kompose-help-clean-up
Clean up kompose help, remove support for unimplemented commands
2016-08-04 09:55:29 -07:00
Janet Kuo
59021745f7 Merge pull request #78 from janetkuo/volume-parse-conversion
Convert volumes in [name:][host:]container[:access_mode] format
2016-08-04 09:55:16 -07:00
Janet Kuo
2010cefec8 Merge pull request #79 from janetkuo/warnings-in-stdout
Enable warnings in stdout
2016-08-04 09:54:05 -07:00
Janet Kuo
8e5dda227f Clean up kompose help, remove support for unimplemented commands 2016-08-03 15:50:37 -07:00
Janet Kuo
eab6d004f8 Add an unit test for parseVolume 2016-08-03 13:37:51 -07:00
Janet Kuo
8d7be45452 Convert volumes in [name:][host:]container[:access_mode] format 2016-08-03 13:11:54 -07:00
Janet Kuo
c618bc7c64 Merge pull request #77 from janetkuo/rw-default
Volumes default not read-only
2016-08-03 12:40:10 -07:00
Janet Kuo
c6d137f0f3 Merge pull request #74 from janetkuo/error-output
Correctly log error
2016-08-03 12:40:02 -07:00
Janet Kuo
dfc79632b8 Enable warnings in stdout 2016-08-03 11:42:07 -07:00
Janet Kuo
5be69fc093 Volumes default not read-only 2016-08-02 15:38:04 -07:00
Janet Kuo
1acaf3cd68 Correctly log error 2016-08-02 13:27:59 -07:00
Tuna
72fc1a2f42 don't print warning to stdout #71 2016-08-02 22:28:10 +07:00
Suraj Deshmukh
a63d641384 Merge pull request #67 from surajssd/env_var_substitution
Support for environment variables substitution
2016-08-02 06:17:11 +05:30
Tuna
55ae6e7538 Print warning for unsupported fields in docker-compose format #71 2016-08-02 01:25:56 +07:00
Janet Kuo
4e50e89dac Remove the support for converting to Replica Sets 2016-07-28 13:02:23 -07:00
Suraj Deshmukh
e0bcd324d5 Warning on missing port information and no service created
Now when user will not provide any port information
a warning will be shown and also service will not
be created.

Fixes #58
2016-07-27 10:25:02 +00:00