Commit Graph
463 Commits
Author SHA1 Message Date
Hang Yan ee3228cb7a Bump docker version (#1334)
to support compose 3.8
2020-10-31 17:30:28 +08:00
Hang Yan f31257f5cf Add support for compose 2.x (#1333) 2020-10-31 08:27:50 +08:00
namusyaka fd3e79e990 add warning that tells why the service is not created (#1326) 2020-10-30 17:59:31 +08:00
Charlie Drage 955b781242 1.22.0 Release (#1329) 2020-10-28 14:36:31 -04:00
Hang Yan 4d7183f86c Update networkpolicy version (#1307) 2020-08-07 18:13:20 +08:00
Hang Yan 525b68f027 Go mod (#1305)
* Use go mod instead of glide
* Add `--with-kompose-annotation` flag to allow us to switch it off for tests
* Remove hostpid support (since the newest sdk does not support it)
* Create new test script and fixtures
* Remove replicationcontroller support
2020-08-07 17:25:52 +08:00
Hang Yan d780067bf9 Add missing pod ano (#1303) 2020-08-06 23:42:58 +08:00
Hang Yan dc6975223a Remove networkpolicy dup (#1302) 2020-08-06 17:27:36 +08:00
Jing Guo 8edc5f4d01 fix stop_grace_period in v3 (#1300) 2020-08-02 17:57:29 +08:00
Hang Yan 47e6015f50 Remove up and down cmd (#1297)
* Remove up and down cmd
2020-08-01 16:01:34 +08:00
windayski 42fd5ede3e fix typo (#1281) 2020-06-18 08:40:29 -04:00
Hang Yan 88dde83044 Fix annotations missing for ingress (#1248)
* Fix annotations missing for ingress
2020-03-31 20:47:53 +08:00
Christian Fetzer ca75c31df8 Add support for build-args with --build local (#1256)
At the moment build-args can be specified in the compose configuration,
but they're used only when creating a build-config and not for local
builds.
2020-03-12 22:16:36 +08:00
Christian Fetzer 671035e1f8 Fix printing docker build output if -v is given (#1255)
The current version only prints the docker build output if the build
was successful.
2020-03-08 13:59:58 +08:00
Charlie Drage 992df58d8f 1.21.0 Release (#1249) 2020-02-25 12:06:39 -05:00
Hang Yan 1685ab3001 Support ingress path for kubernetes (#1245)
* Support ingress path for kubernetes
2020-02-23 19:25:43 +08:00
Hang Yan 49d8133fb9 Support v2 restart unless-stopped (#1244) 2020-02-22 19:25:29 +08:00
Hang Yan 78908c94e5 Add flag to allow use define api server url (#1243) 2020-02-22 11:56:50 +08:00
Hang Yan 7dbca5df34 Fix some ci lint (#1233) 2020-01-05 21:36:32 +08:00
Hang Yan e7f05588bf Support deploy update_config (#1232) 2020-01-05 19:30:41 +08:00
Hang Yan 4d864a9aab Support deploy labels (#1231) 2020-01-05 11:35:32 +08:00
Hang Yan 05e9bf4fc8 Support config short syntax and fix old bugs (#1230) 2020-01-05 10:19:22 +08:00
Hang Yan fe4301192a Refactor code and fix build (#1228) 2020-01-04 17:17:14 +08:00
Hang Yan 1089a26844 Support port expose (#1227) 2020-01-04 14:15:10 +08:00
Chander G 5732a555cb Concat and merge service fields when merging compose files (#1186) (#1226)
according to docker compose specs, certain fields are merged and
certain others are concatented
2020-01-03 23:17:29 +08:00
Hang Yan 0a2fa1a978 Fix port duplicate in container spec (#1223) 2019-12-29 11:32:33 +08:00
Hang Yan 25337eb82c Fix v3 hostpath path concatenate error (#1222) 2019-12-28 18:40:36 +08:00
Hang Yan ae138029a1 Fix hostpath path translate error (#1221) 2019-12-28 18:01:38 +08:00
Hang Yan 88a3a27ca8 Support export yaml with indent (#1219) 2019-12-28 12:23:03 +08:00
Hang Yan 34b827c97e Support use configmap as volume (#1216) 2019-12-28 01:02:27 +08:00
Hang Yan d2d0d61cf2 Merge will include deploy resources (#1214) 2019-12-27 13:51:11 +08:00
Hang Yan a3a82f55fe Use service name when image name is empty when build (#1213) 2019-12-27 13:26:25 +08:00
Hang Yan dd28e9220b Fix docker local build (#1212) 2019-12-27 10:26:42 +08:00
Hang Yan 1f0a097836 Support assign nodeport port in labels (#1210) 2019-12-26 23:45:58 +08:00
Hang Yan e0c8f6d23d Add flag to support store manifest when kompose up (#1208) 2019-12-26 19:30:03 +08:00
Hang Yan bc28ffc675 Upgrade deployment/daemonset to apps/v1 (#1207) 2019-12-26 16:36:11 +08:00
Hang Yan 73ec0abab2 Remove duplicate of configmap (#1206)
* also change the name of the generated cm
2019-12-26 08:53:41 +08:00
Hang Yan 4cbe106351 Fix chart lint (#1205) 2019-12-25 00:13:31 -10:00
Hang Yan d52fd0d877 Modify default kubernetes client's apiserver url (#1204)
* Modify default kubernetes client's apiserver url
2019-12-24 00:47:10 -10:00
Charlie Drage f3d54d7848 1.20.0 Release (#1203) 2019-12-23 12:05:10 -05:00
Chander G 356c64890c fix tests related to secrets (#1198)
1. fix the path used to read secret data
without this fix, the path to the compose file is added to the already
absolute path, hence readFile was unable to find the secrets file

2. fix the expected json format
mountPath includes the entire path including the name of the secret
2019-12-04 10:32:29 +08:00
João Vitor Paes de Barros do Carmo 30736a3973 Add support for file based secret (#1159)
* Support file based secret
* Fix issue about read-only volume path and add support to absolute path at long-syntax
2019-12-01 12:05:31 +08:00
Mudit Verma ac2b852955 Network Key Translation Feature and test cases (#1195) 2019-12-01 10:19:23 +08:00
Chander G 5857252c3d Merge top level non-service keys (#1187)
* merge top level non-service keys

docker-compose default behaviour is to merge these top level keys such
as `networks`
2019-11-28 14:18:49 +08:00
sivanzcw d03a6a9474 fix golint error about comment on exported variable (#1178) 2019-11-14 11:38:48 +08:00
Kubernetes Prow Robot ab111b5d88 Merge pull request #1147 from hangyan/push-image-flag
Add flag to turn off push image when kompose up
2019-10-31 06:31:37 -07:00
Charlie Drage d0526d1d75 Fix tests (#1175)
For some reason, tests have been coming back as always positive (despite
some tests which are failing...)

This PR addresses it
2019-10-25 17:33:11 +08:00
Charlie Drage f63a961ca7 1.19.0 Release (#1174) 2019-10-16 13:39:36 -04:00
Alan Justino da Silva 30655b4dd6 Copy the service labels also to Deployment Pod spec annotations (#1166)
* Copy the service labels also to Deployment Pod spec annotations

This allows kube2iam to work

* Remove test file forgotten from version 1.0.0

* Update test fixtures to have Deployment.spec.t.m.annotations

* Fix name conversion "test_server" -> "test-server"

It looks unrelated to my changes, but still changing.

* Fixing some more output fixtures
2019-09-02 10:06:28 +08:00
Michael Royal 7b6c89b3de Snap (#1153)
Includes  snapcraft.yaml to build [snap](https://snapcraft.io/).

* Updated snap
2019-07-08 23:48:55 +08:00