Commit Graph

329 Commits

Author SHA1 Message Date
AhmedGrati
1f1fc20204
Fix loading env file (#1679)
* fix: update loading 'env_file' of docker_compose

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

* test: add functional tests for loading env_file

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-26 14:03:15 -04:00
Charlie Drage
2c3f2939d4
update redis wording to replica (#1680)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

We should be using replica to indicate a new node of redis.

Unfortunatley gcr still hasn't pushed another image, so we will still
have to use registry.k8s.io/redis-slave:v2

#### What this PR does / why we need it:

N/A

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-07-25 14:32:20 -04:00
Charlie Drage
05f3d40056
update release script again with a reminder for docs update (#1674)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

update release script again with a reminder for docs update

#### What this PR does / why we need it:

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-07-18 09:08:53 -04: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
61b4e6b797 test: add functional tests for read only fs support
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 16:24:43 +01:00
Charlie Drage
3783238f32
update release script from master to main (#1662)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind documentation
/kind feature
-->
/kind cleanup

#### What this PR does / why we need it:

Updates the release script to use main instead of master

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-07-05 15:10:03 -04: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
71c3164907
fix: enable compose environment variables interpolation (#1642)
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-06-30 11:29:26 -04:00
AhmedGrati
c2a020eb13
Feat support compose files (#1595)
* fix: support host port and protocol in functional tests

* feat: support compose.yaml and compose.yml files

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

* test: implement functional tests of the support of compose files

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 23:29:08 +01:00
AhmedGrati
59d5532181
Fix openshift DeploymentConfig and ImageStream APIVersions (#1598)
* fix openshift dc and image stream api version

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

* e2e: Update Openshift manifests to update the API Version

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 14:28:19 -04:00
AhmedGrati
49fb7c7395
feat: automate e2e manifests update (#1602)
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 14:11:25 -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
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 Yan
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