Commit Graph

111 Commits

Author SHA1 Message Date
e5e0d5e117 Generate template placeholders charts and support init containers and jobs (#1)
Part of https://plan.wireit.in/deepstack/browse/VUL-265/

Reviewed-on: LaconicNetwork/kompose#1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-12-04 06:04:04 +00:00
Kubernetes Prow Robot
6b704502d6
Merge pull request #1955 from jvitor83/feature/no-interpolate
Add no-interpolate feature option to the CLI
2025-01-09 06:20:31 -08:00
João Vitor Paes de Barros do Carmo
a2673466f3 feat(no-interpolate): add no-interpolate feature option to the cli 2024-12-02 23:22:26 +00:00
João Vitor Paes de Barros do Carmo
5c1b3ad354 feat(config-content): added support for content in config 2024-11-29 00:16:23 +00:00
TessaIO
3bf98301f7
fix: expose container to host only with labels (#1880)
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-05-29 16:05:04 -04:00
jose luis
8ee944c2be
Merge branch 'main' into feature-1846-network_mode-service 2024-04-22 15:46:45 +02:00
Kubernetes Prow Robot
1015e59eac
Merge pull request #1838 from microsec-ambrose/upgrade-compose-go
chore(deps): bump Go version and github.com/compose-spec/compose-go
2024-04-18 05:58:12 -07:00
jose luis
58974092a5
add networkmode service:
added tests
fixNetworkModeToService is responsible for adjusting the network mode of services in docker compose (services:) and generate a mapping of deployments based on the network mode of each service merging containers into the destination deployment, and removing transferred deployments

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-03-30 21:17:47 +01:00
Ambrose Chua
ea485a7806
chore(deps): bump github.com/compose-spec/compose-go 2024-03-19 14:34:58 +08:00
jose luis
bf3cfc303d
add target to kompose build
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-03-14 00:49:47 +01:00
Tomer Zait
cd6a318896 Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795 2024-01-16 23:44:49 +02: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
b6b708b637
Feat add ns generation (#1667)
* feat: add ns generation for k8s

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

* feat: add ns generation for openshift

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

* test: add functional tests

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

* fix: remove some code nits

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-16 22:59:16 +01: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
b0d46a4ce3
Feat add custom build push (#1630)
* feat: support custom build and push commands

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

* test: add functional tests of the support of custom build and push

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

* docs: add docs of the support of custom build and push

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 11:37:28 +01:00
AhmedGrati
f7bee839ce
feat: disable network policies generation by default (#1629)
* feat: disable network policies default generation

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

* docs: add the generate-network-policies flag to user guide

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

* test: add unit tests of the network policies generation

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 11:26:37 +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
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
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
Kubernetes Prow Robot
20fbab4c5c
Merge pull request #1478 from campos-ddc/fix-secret-file-locations
Fixed secret file locations to match results from docker-compose when using file-based secrets
2022-08-29 08:00:37 -07:00
AhmedGrati
6512dd3dd4
fix: change the port ID definition in kubernetes.go file (#1515) 2022-08-16 07:57:43 -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
Diogo de Campos
acf24e94d5 Fixed secret file locations to match results from docker-compose when using file-based secrets 2022-01-20 14:24:33 +01: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
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
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
Lex Cao
82440ed8c0 Support custom registry on pushing image 2021-08-11 09:58:24 +08:00
ithaiq
b605fd986c
Add "--pvc-request-size" new command line parameter (#1406) 2021-08-07 14:47:02 +08:00
tk42
deb00f3407
support multiple containers in a pod (#1394) 2021-07-08 09:48:05 +08:00
james song
0b331d9e5d
Fixed, #1385 (#1386)
Add support for more readiness args
2021-05-19 23:52:33 +08:00
Rémy Léone
395d99fb7d
add support for golangci-lint (#1373) 2021-04-07 11:10:56 +08:00
Rémy Léone
d1e538e2d4
fix goimports (#1372) 2021-04-03 11:50:28 +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
Hang Yan
2dc6037cce
Allow controller flag to override restart policy (#1340) 2020-11-02 18:17:12 +08:00
Hang Yan
ee3228cb7a
Bump docker version (#1334)
to support compose 3.8
2020-10-31 17:30:28 +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
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
88a3a27ca8
Support export yaml with indent (#1219) 2019-12-28 12:23:03 +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