Commit Graph
1325 Commits
Author SHA1 Message Date
Bo BieneandTomas Kral 76565d80b2 TLS improvements (#1317)
* Fix tls hostname for ingress with path

* Possibility to set ExposeServiceTLS to true

* keep full path when extracting host

Co-authored-by: Tomas Kral <tomas.kral@gmail.com>
2020-11-30 15:48:50 +08:00
namusyaka 3772612ff9 GitHub Actions Part2 (#1356)
* Update CI badge

* Update CI target

* Add TODO comment

* Create .coverprofile for each directory

Re:running tests resolve 0% coverage issue.
2020-11-30 14:48:09 +08:00
namusyaka 6baca72c4d Migrate CI from travis ci to github actions (#1355)
Ref #1352
2020-11-16 11:47:55 +08:00
namusyaka 8fcbc60969 Cleanup glide (#1353)
* Cleanup mentions about glide

* Don't use glide to ignore vendor directory

Since go-1.9, "./..." no longer contains the "vendor" directory.
Also, since #1305 migrated dependency management from glide to go mod,
there is no need to think about the "vendor" directory.

See: https://golang.org/doc/go1.9#vendor-dotdotdot

* go mod tidy
2020-11-08 23:21:51 +08:00
namusyaka 25036e1b22 Create directories if --out ends with "/" or includes nonexistent directories (#1350)
* Create directory if --out ends with "/"

* Create directories if "out" contains nonexistent directories
2020-11-08 23:18:39 +08:00
namusyaka 8dc5572ec7 Retrieve container test by updating Dockerfile (#1351) 2020-11-08 08:51:57 +08:00
namusyaka 01f18cb3cf improve tests for loadV3Ports (#1349)
* improve tests for loadV3Ports

* fix a wrong test by passing "expose" appropriately
2020-11-06 11:46:18 +08:00
namusyaka 951b46e3c2 cleanup debug logs & remove duplicated output (#1348)
* cleanup debug logs

* avoid duplicate error messages

and this makes main.go use os and fmt package instead of log to avoid
touching global state
2020-11-04 22:50:18 +08:00
namusyaka 8b06045c70 Support port range for docker-compose v2 (#1345)
* allow port range specification in v1v2

* improve tests for loadPorts

* add port range to fixtures of docker-compose v2

* update fixtures to follow up on #1341
2020-11-04 22:16:33 +08:00
namusyaka 119f0b8f70 Follow up on #1341 (#1344)
* mv d.yaml to examples

* rephrase debug log messages a bit
2020-11-04 08:26:15 +08:00
namusyaka 45864ed624 make kompose exit with 1 if error (#1343)
Old code passes -1 to os.Exit and the value is directly passed to syscall.
The behavior with -1 depends on environments (most cases should convert
into 255 though)

This commit is to remove unnecessary the ambiguity and change it to use 1 instead of 255.
2020-11-04 08:24:52 +08:00
Hang Yan ee3ae26198 Update docs (#1342) 2020-11-03 14:50:13 +08:00
Hang Yan c0f485b4e1 Create two svc if loadbalancer and use udp/tcp the same time 2020-11-03 13:09:25 +08:00
Hang Yan 2dc6037cce Allow controller flag to override restart policy (#1340) 2020-11-02 18:17:12 +08:00
hato wang c1280a4f55 fix invalid repo url for SUSE Linux Enterprise 15 (#1339)
* fix invalid repo url

* fix invalid repo url for SUSE Linux Enterprise 15
2020-11-02 11:52:59 +08:00
hato wang 28513ac56c fix invalid repo url (#1338) 2020-11-02 11:52:30 +08:00
hato wang 1d3a2bb91f The Red Hat Development Suite has been discontinued (#1336) 2020-11-02 11:51:36 +08:00
Hang Yan 122384b9f0 Support podman compose file (#1335) 2020-11-01 21:32:25 +08:00
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
Hang Yan 19f7d53aae Update doc about helm chart format (#1331) 2020-10-30 17:55:35 +08:00
Kubernetes Prow Robot 4b9b506622 Merge pull request #1330 from cdrage/fix-sync-script
Update introduction doc + add sync docs script
2020-10-29 02:04:59 -07:00
Charlie Drage 64a2f8ad08 Update introduction doc + add sync docs script
Updates the introduction doc and adds a synchornization script to be
manually run for website changes.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-10-28 14:53:34 -04:00
Charlie Drage 955b781242 1.22.0 Release (#1329) 2020-10-28 14:36:31 -04:00
karanssj4 a994d6bc04 Update Dockerfile (#1320) 2020-09-18 17:50:18 +08:00
Hang Yan 4d7183f86c Update networkpolicy version (#1307) 2020-08-07 18:13:20 +08:00
Hang Yan d35549d03d Remove vendor (#1306) 2020-08-07 17:52:07 +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 7801a8f8b3 Update user guide (#1299) 2020-08-02 09:36:19 +08:00
Hang Yan 47e6015f50 Remove up and down cmd (#1297)
* Remove up and down cmd
2020-08-01 16:01:34 +08:00
Kubernetes Prow Robot 6bf75ae11b Merge pull request #1295 from joelsmith/master
Add repo SECURITY.md
2020-07-31 06:37:07 -07:00
Kubernetes Prow Robot 73dffb59a7 Merge pull request #1279 from xavierleune/patch-1
Update conversion for command and entrypoint
2020-07-31 06:35:09 -07:00
Joel Smith f15845fec7 Add SECURITY.md 2020-07-27 16:01:52 -06:00
windayski 42fd5ede3e fix typo (#1281) 2020-06-18 08:40:29 -04:00
Xavier Leune 4dcf813852 Update conversion for command and entrypoint
This pull requests updates the documentation according to the current behavior of kompose (tested with 1.19.0)
2020-05-25 15:55:53 +02:00
Charlie Drage 6b018fab7b Fix tests (#1274)
For some reason, Kubernetes tests haven't been running correctly. This
(hopefully) fixes it on Semaphore..

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-04-23 13:56:02 -04:00
Hang Yan 88dde83044 Fix annotations missing for ingress (#1248)
* Fix annotations missing for ingress
2020-03-31 20:47:53 +08:00
akillcool dbbdfc0970 Add arm64 to make cross (#1266) 2020-03-18 10:03:16 +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
Hang Yan d105a77e07 Add server flag for kompose down (#1260) 2020-03-08 18:40:29 +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
Christian Fetzer 2bdb3261a0 Add support for push-image with --build local (#1257)
The PR https://github.com/kubernetes/kompose/pull/1147 introduced a
push-image parameter for the 'up' command that allows to disable
pushing the image to the registry. The PR changed the behavior of the
'convert' command that now no longer pushes the image.

This commit introduces the same parameter for the 'convert' command
and reintroduces the original behavior of pushing the image.
2020-03-08 13:58:01 +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