Commit Graph

1702 Commits

Author SHA1 Message Date
Charlie Drage
cae115a9e4
Update copyright website 2023 (#1589)
#### What type of PR is this?

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

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

Update the copyright of the website to 2023.

#### 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-02-13 12:57:03 -05:00
Charlie Drage
6e9b7f4021
remove build/rpm submodule (#1587)
#### What type of PR is this?

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

Removes the build/rpm submodule that's no longer needed / used

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

Fixes the issue of trying to build the Dockerfile: docker build -t
kompose https://github.com/kubernetes/kompose.git#main

#### 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:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-13 12:43:12 -05:00
Charlie Drage
ae1fbb512a
Fix docs regarding building from container (#1588)
#### What type of PR is this?

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

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

We've switched to main, so the previous command no longer worked since
it was searching for 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-02-13 12:43:02 -05:00
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
AhmedGrati
20dfb84f38
feat: integrate pre-commit hooks (#1559)
* feat: integrate pre-commit hooks

* Revert "feat: integrate pre-commit hooks"

This reverts commit 4d1ce961678c3483c669d946b4c0d5515bb4142d.

* add pre-commit-config file

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

* remove no-go-testing from pre-commit-hooks

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

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-10 10:57:07 -05:00
Boshi Lian
d82f5b954f
support build with docker cli (#1525)
* support build with docker cli

* change to DOCKER_BUILDKIT
2023-02-10 10:56:38 -05:00
Charlie Drage
f2aeb70e59
Fix TOC on site / documentation (#1580)
#### What type of PR is this?

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

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

The latest spelling error changes broke TOC from showing in the
documentation

#### 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-02-08 20:00:59 -05:00
Soobin Rho
5fb58ff96f
docs: correct three broken internal links (#1526)
* docs: correct broken internal link (/docs/maven-example.md)

1. When I was reading the documentation, I noticed that links to other documents inside the repository were giving a 404 error. So, I cloned the repository and found found that all links such as "[Quickstart](/docs/maven-example.md)" were giving the errors.

2. The fix is to remove the `/docs/` part and the `.md` part.

3. I tested these commits with `bundle exec jekyll serve`. All the pages getting changed by the commits now work correctly.

* docs: correct broken internal link (/docs/conversion.md)

- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.

* docs: correct broken internal link (/docs/installation.md)

- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.

---------

Co-authored-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 19:51:19 -05:00
AhmedGrati
37b503846c
Feat: Add issues and pull requests templates (#1560)
* feat: add issues template

* feat: add pr template
2023-02-08 19:49:27 -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
Charlie Drage
055856076a
docs: update installation doc (#1575)
Some of the installation methods are either unmaintained / not up to
date anymore.

For example, we no longer package `.deb` packages.

The person using Kompose should be installing the binary directly
from GitHub rather than relying on their package manager.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 22:04:16 +01: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
a2b2a1f304
Adds a new logo for Kompose (#1574)
Woo! Our new logo!

It's a little cartoon octopus inside of a septagon (similar to
Kubernetes).

It's to show how "composable" we similar to an octopus.

I've gone ahead and updated the documentation as well as the website.
2023-02-08 15:23:16 -05:00
Patrick Rachford
35a430614f
Fixes typos (#1557)
* rebase

* undo commit to assets/**/*

* undo commit in script/test/*

* Apply suggestions from code review

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>

* removes webrick

---------

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>
2023-02-08 14:51:09 -05:00
Manuel Rüger
b3d4aec3ee
k8sutils: Update helm template to use apiVersion v2 (#1567)
https://helm.sh/docs/topics/charts/#the-apiversion-field
2023-02-01 10:37:57 -05:00
Kundan Kumar
57bd5442a2
corrected broken diagram link in site (#1566) 2023-01-31 11:09:21 -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
Charlie Drage
c4137012e3
1.28.0 Release (#1562) 2023-01-23 13:44:44 -05:00
Charlie Drage
26d28d58a4
remove unused js files (#1561)
These were leftover files from a docs / site template.

Removing as they are not needed.

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

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-01-23 13:31:48 -05:00
Suraj Deshmukh
eb9f15b2c6
owners: Remove surajssd (#1555)
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2023-01-18 22:34:47 -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
4c14b06333
chore: add AhmedGrati as owner of Kompose (#1540) 2022-11-22 13:44:30 -05:00
AhmedGrati
36593e8759
Update e2e tests (#1538)
* fix: update ingress class name assign
2022-11-21 18:54:28 +08:00
Matt Hook
af82f7e6db
fix all known trivy scan vulnerabilities (#1516)
* fix all known trivy scan vulnerabilities

* fix library issues: CVE-2022-27664, CVE-2022-32149, GHSA-69ch-w2m2-3vjp
2022-11-19 10:44:37 +08:00
AhmedGrati
acb8046f84
Fix environment variables interpolation (#1524) 2022-11-19 10:35:33 +08:00
Charlie Drage
089e946489
remove sync docs from ci (#1536)
don't need sync docs since we are building from `/docs` directory
instead of `gh-pages`.

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

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-11-18 15:01:16 -05: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
Charlie Drage
b0ed6a2c9b
1.27.0 Release (#1534) 2022-11-18 11:31:23 -05:00
AhmedGrati
fd7b751564
Fix container name (#1528)
* fix: update get container name function
* test: add a test for the introduced fix
2022-11-13 21:33:47 +08:00
AhmedGrati
849c229aad
Fix(CI Pipeline): Update Kubernetes unit tests and CI Pipeline configuration files (#1531)
* fix: update kubernetes unit tests

* fix: check whether selectors are present or not

* fix: update golang-lint yaml file

* fix: downgrade the version of fsouza go docker-client
2022-11-12 21:46:18 +08:00
Tomas Kral
a4413b2570
Merge pull request #1488 from dmitris/patch-1
recommend to use 'go install @latest" for Go
2022-09-26 13:25:37 +02: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
Stefan Weiberg
4f20198ddc
Provide updated installation instructions (#1496)
* openSUSE meanwhile includes kompose in their official repositories for Tumbleweed and Leap
* on SUSE Linux Enterprise Server kompose is available via PackageHub
2022-08-26 09:29:09 -04:00
Matt Hook
ec62854fdf
update packages to fix trivy vulnerability scan (#1508) 2022-08-26 09:28:28 -04:00
Kubernetes Prow Robot
9055f21620
Merge pull request #1512 from realgam3/master
fix daemonset creation (add selector)
2022-08-23 04:49:25 -07:00
Dmitry Savintsev
3a431dd7b4 recommend to use 'go install @latest" for Go 2022-08-16 16:49:41 +02:00
AhmedGrati
6512dd3dd4
fix: change the port ID definition in kubernetes.go file (#1515) 2022-08-16 07:57:43 -04:00
Tomer Zait
06bb4f5279 fix daemonset creation (add selector) 2022-07-01 01:21:33 +03:00
Kubernetes Prow Robot
1b040dd299
Merge pull request #1493 from darklore/go1.18
Fix build error on go1.18
2022-03-24 02:24:43 -07: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
darklore
0964a7ccd1
Fix build error on go1.18
Signed-off-by: darklore <zodiac.brave.story@gmail.com>
2022-03-24 05:22:23 +09:00