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
Janet Kuo
3e1ae61376
Merge pull request #65 from janetkuo/chart-out
...
Allow --chart and --out to be specified together
2016-07-26 09:38:57 -07:00
Suraj Deshmukh
934a3e1a9a
Support for environment variables substitution
...
Now user can put environment variables in docker-compose
file and it will be read by kompose from environment
Fixes # 56
2016-07-26 12:55:23 +00:00
Tuna
3f24516f33
warning duplicated unsupported keys only one time
2016-07-26 17:51:23 +07:00
Janet Kuo
e41629ba49
Allow --chart and --out to be specified together
2016-07-25 16:47:40 -07:00
Janet Kuo
23488a29e1
Respect dab file name when generate helm charts
2016-07-25 16:00:38 -07:00
Janet Kuo
b289594c84
Add --bundle,-dab flag for specifying dab file
2016-07-25 16:00:38 -07:00
Janet Kuo
641054639a
Add --replicas flag and changed --rc from string to bool
2016-07-22 13:16:29 -07:00
ngtuna
278a8af04f
printing warning of unsupported keys
2016-07-23 01:49:34 +07:00
ngtuna
14bc3697c8
close #60
2016-07-22 23:41:48 +07:00
Tomas Kral
a97b413279
use empytDir rather then hostPath
...
On remote cluster or in cloud it can be tricky to get hostPath working
as expected by compose
2016-07-21 20:37:50 +02:00