Commit Graph
180 Commits
Author SHA1 Message Date
Tomer Zait db6a4d7ce1 fix issues #1829, #1830 2024-02-18 10:50:15 +02:00
Tomer Zait cd6a318896 Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795 2024-01-16 23:44:49 +02:00
AhmedGrati fd3fee64fb fix: make resources names lowercase (#1755)
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-08 11:29:39 +01:00
AhmedGrati a4ae9f9df4 chore: add warning when no service is selected
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-01 17:18:46 +01:00
axel7083 0302093e0a fix: removing unused property 2023-09-21 22:09:18 +02:00
axel7083 a7c63a650c Adding support for --profile cmd option 2023-09-17 17:41:05 +02:00
AhmedGrati 0be4868914 Fix expose conversion (#1696)
* fix: remove hostport from expose conversion

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: update unit tests

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-08-28 08:55:00 -04:00
Kubernetes Prow Robot 071451dfdf Merge pull request #1670 from AhmedGrati/feat-add-read-only-support
Feat: add read only containers support
2023-07-16 10:51:05 -07:00
AhmedGrati 4a08d41242 feat: add read only fs support
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 15:56:04 +01:00
AhmedGrati 36028cb89a fix: remove lower case of the host generation
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 12:48:00 +01:00
AhmedGrati 485cd2f163 feat: support container volume mount subpath (#1628)
* feat: support volumes subpath

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* docs: add the kompose.volume.sub-path label

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* fix: update e2e tests

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 10:47:01 +01:00
AhmedGrati 71c3164907 fix: enable compose environment variables interpolation (#1642)
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-06-30 11:29:26 -04:00
AhmedGrati 8f0a6684ca Feat support security fsgroup (#1613)
* feat: support security context fsgroup

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: add unit test to security group fsgroup

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: add functional test to security group fsgroup

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* docs: add documentation of the new label of security group fsgroup

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 14:11:10 -04:00
AhmedGrati 6be6fdd165 feat: support external traffic policy
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-13 14:59:46 +01: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
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 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
AhmedGrati 6512dd3dd4 fix: change the port ID definition in kubernetes.go file (#1515) 2022-08-16 07:57:43 -04: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
ichx 8cb1b0599e Add support for placement preferences docker-compose v3.3+ (#1425) 2021-11-04 08:28:45 +08:00
ichx d55071e9d6 Support tcp/http liveness/readiness probe (#1449) 2021-11-03 23:30:38 +08:00
Hang Yan a87dd94532 Fix merge compose file's replicas error (#1446) 2021-10-17 14:21:58 +08:00
Hang Yan 5d7ed192a4 Code Refactor (#1438)
* Code refactor
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-03 17:33:43 +08:00
ichx 2f081075a8 Fix misuse in struct kobject.ServiceConfig.Port (#1423) 2021-08-29 21:37:22 +08:00
ichx e82fe96c38 Add support for negated placement constraint (#1419) 2021-08-27 22:49:55 +08:00
Kubernetes Prow Robot 94bff75a15 Merge pull request #1401 from tk42/service_account
Add ServiceAccountName
2021-08-12 07:15:47 -07:00
tk42 998dbd72f2 Fixed LabelServiceAccountName 2021-08-12 21:47:53 +09:00
Lex Cao ef474809e3 Fix build context (#1411) 2021-08-11 09:43:42 +08:00
tk42 f7f987de49 Add ServiceAccountName
The label `kompose.service.accountname` defines the service account name
to provide the credential info of the pod.
2021-07-24 08:44:07 +09:00
tk42 deb00f3407 support multiple containers in a pod (#1394) 2021-07-08 09:48:05 +08:00
exokortex c51d59566b actually use normalizeNetworkNames to produce valid network names (#1393) 2021-07-07 14:29:03 +08:00
james song 0b331d9e5d Fixed, #1385 (#1386)
Add support for more readiness args
2021-05-19 23:52:33 +08:00
Hang Yan bd1abffb16 Fix labels merge error (#1380) 2021-05-01 18:27:41 +08:00
Rémy Léone 395d99fb7d add support for golangci-lint (#1373) 2021-04-07 11:10:56 +08:00
João Vitor Paes de Barros do Carmo 0036f0c32b Add readiness healthcheck generation by label (#1366) 2021-03-17 18:02:50 +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 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
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
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
Jing Guo 8edc5f4d01 fix stop_grace_period in v3 (#1300) 2020-08-02 17:57:29 +08:00
windayski 42fd5ede3e fix typo (#1281) 2020-06-18 08:40:29 -04:00
Hang Yan 49d8133fb9 Support v2 restart unless-stopped (#1244) 2020-02-22 19:25:29 +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