Commit Graph
365 Commits
Author SHA1 Message Date
vaibhav2107 9ced8e2ced Update references from k8s.gcr.io to registry.k8s.io 2023-02-14 17:35:45 +05:30
Kubernetes Prow Robot 607196c861 Merge pull request #1544 from AhmedGrati/feat-support-external-traffic-policy
Feat support external traffic policy
2023-02-13 09:15:30 -08:00
AhmedGrati 6be6fdd165 feat: support external traffic policy
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-13 14:59:46 +01:00
AhmedGrati b141d99106 fix: support host port and protocol in functional tests (#1586) 2023-02-11 19:19:29 -05:00
Charlie Drage 6a31ce3272 update release script 2023-02-08 16:13:41 -05:00
Charlie Drage 13919e2050 update sync script again (#1578)
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 16:09:33 -05:00
AhmedGrati 9ab4ef3a9c Feat: Add hostPort and protocol to containers (#1558)
* feat: add the host port to containers

* test(unit): add unit tests for host port and protocol

* test(functional): add functional tests of host port and protocol

* test(functional): add functional tests of host port and protocol for openshift
2023-02-08 15:46:13 -05:00
Charlie Drage d43aefd882 change master to main in scripts and docs (#1569)
* change master to main in scripts and docs

Changes the naming from master to main in the scripts and documentation.

Do not merge unless CI passes!

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* remove 1.18, specify version of staticcheck

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 15:42:16 -05:00
Charlie Drage c70a945739 fix small errors in release script (#1563)
Noticed a few errors in the release script when doing the 1.28.0 release
this month! So here is the updated script.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-01-24 09:11:24 -05:00
Lctrs cb41c16bf4 chore: require go >=1.18, bump deps and get rid of replace directives (#1552) 2023-01-13 08:50:28 -05:00
Charlie Drage d4001c92b2 Fix CI (#1550)
Accidently removed the check-gofmt.sh script.
2023-01-12 21:18:42 -05:00
Charlie Drage e85329f330 Remove old scripts, modify manual syncing doc script (#1549)
Maintenance!

Removes all the old scripts now used, and adds a "manual" doc sync
maintenance script which we have yet to automate.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-01-12 15:37:58 -05:00
Lctrs 2ad5745d58 feat: migrate from libcompose to compose-go (#1547)
* feat: migrate from libcompose to compose-go

libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go.
Kompose should now be able to load all versions of compose.

* chore: replace golint with staticcheck

golint has been deprecated. Recommended replacement is staticcheck.
2023-01-12 15:17:22 -05:00
AhmedGrati 7304bb6013 fix: update match output function (#1546) 2022-12-08 16:25:20 -05:00
AhmedGrati 91391eb84f Fix: Make the out flag print to one file using seperator (#1541)
* fix: make the out flag print to one file using seperator

* fix: comment an unused function

* fix: update test script

* fix: update output k8s

* fix: update the json output error condition

* fix: update envvars interpolation tests

* chore: update e2e tests to support yaml generation instead of JSON format

* fix: update e2e tests according to ci environment

* fix: apply PR changes
2022-12-01 09:47:50 +01:00
AhmedGrati 36593e8759 Update e2e tests (#1538)
* fix: update ingress class name assign
2022-11-21 18:54:28 +08:00
AhmedGrati acb8046f84 Fix environment variables interpolation (#1524) 2022-11-19 10:35:33 +08:00
Charlie Drage e0e69ae886 Update release script (#1535)
Signed-off-by: Charlie Drage <charlie@charliedrage.com>

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-11-18 11:58:13 -05:00
Kubernetes Prow Robot d976c812b4 Merge pull request #1490 from sergeyshevch/feature/fix-network-normalization-in-v3
fix(v3): Added network name normalisation in v3 parsing
2022-03-24 01:58:41 -07:00
Sergey Shevchenko 734b88e102 fix(v3): Added network name normalization in v3 parsing 2022-03-21 16:08:03 +04:00
Sergey Shevchenko 98578640c0 Add kompose.service.expose.ingress-class-name (#1486)
Signed-off-by: Sergey Shevchenko <shevchenko@simple.life>
2022-03-15 10:51:00 -04:00
Charlie Drage ff4a65c08a Add new Kompose site (#1474)
This PR adds the new Kompose site!

Go preview it at https://kompose.io

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-01-13 13:55:50 -05:00
Shivam Sandbhor a46582bda2 Fix ImageStream tags in openshift provider mode (#1461)
* Fix ImageStream tags in openshift provider mode

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-20 13:31:56 +08:00
Hang Yanandkomposebot 40646f4715 1.26.0 Release (#1460)
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
Co-authored-by: komposebot <cdrage+kompose@redhat.com>
2021-11-13 22:49:53 +08:00
Shivam Sandbhor 1c4ff96626 Infer storage type using label (#1456)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-13 20:33:10 +08:00
ichx 8cb1b0599e Add support for placement preferences docker-compose v3.3+ (#1425) 2021-11-04 08:28:45 +08:00
Shivam Sandbhor c921643705 Add support for statefulset controller. (#1452)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-04 08:24:12 +08:00
ichx d55071e9d6 Support tcp/http liveness/readiness probe (#1449) 2021-11-03 23:30:38 +08:00
Shivam Sandbhor d029f2c587 Add cmd tests for emptyvols and emptyDir (#1447)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-10-17 21:31:11 +08:00
Hang Yan a87dd94532 Fix merge compose file's replicas error (#1446) 2021-10-17 14:21:58 +08:00
Shivam Sandbhor c7ba832556 Remove bundle test and it's fixtures (#1443)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-10-17 12:55:27 +08:00
Hang Yan 72ea6a3c24 Support group service by shared volumes (#1439)
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-03 23:07:41 +08:00
Hang Yan 6bd22ce565 Upgrade Ingress apiversion (#1436)
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-02 01:52:20 +08:00
Hang Yan 7c629530e1 1.24.0 Release (#1424) 2021-08-29 22:53:41 +08:00
Hang Yan 0671410009 Add support for bindata in cm (#1418)
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-08-29 08:33:16 +08:00
ichx e82fe96c38 Add support for negated placement constraint (#1419) 2021-08-27 22:49:55 +08:00
AiYijing 473f54fdaf Add support for windows volume (#1417)
Signed-off-by: aiyijing <aiyijing@live.com>
2021-08-24 10:09:34 +08:00
w4v3 b2dee807a2 Add storageClassName label to pvc manifest(#1413) 2021-08-15 15:05:01 +08:00
Lex Cao f78eed9e4f Add a separate test file about fundamental tests for local push image 2021-08-11 12:14:31 +08:00
Lex Cao 82440ed8c0 Support custom registry on pushing image 2021-08-11 09:58:24 +08:00
Lex Cao ef474809e3 Fix build context (#1411) 2021-08-11 09:43:42 +08:00
ithaiq b605fd986c Add "--pvc-request-size" new command line parameter (#1406) 2021-08-07 14:47:02 +08:00
cnbailian 5a17ee46c3 fix the selector field of service resource 2021-08-06 15:04:23 +08:00
Tomas Kral cfb16f2bfb release script: remove check for 2021-07-12 13:57:39 +02: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 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