Commit Graph

1462 Commits

Author SHA1 Message Date
dependabot[bot]
a978dc4dff
chore(deps)(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1 (#1609)
Bumps [github.com/joho/godotenv](https://github.com/joho/godotenv) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/joho/godotenv/releases)
- [Commits](https://github.com/joho/godotenv/compare/v1.4.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/joho/godotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 10:56:25 +01:00
dependabot[bot]
35217c8c12
chore(deps)(deps): bump golang.org/x/tools from 0.5.0 to 0.7.0 (#1608)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 10:55:46 +01:00
dependabot[bot]
d19cf8802b
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1607)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 10:41:51 +01:00
Lctrs
b088e4e3e2
chore(dependabot): fix missing property prefix (#1606) 2023-03-08 10:26:36 +01:00
Lctrs
d5002e54fe
chore: add configuration for dependabot (#1596) 2023-03-08 09:55:36 +01:00
Lctrs
834916182c
feat(deps): bump compose-go to 1.11.0 (#1594) 2023-02-20 16:20:47 +01:00
dependabot[bot]
db7c50c58a
Bump golang.org/x/net from 0.5.0 to 0.7.0 (#1592)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 17:11:59 +01:00
dependabot[bot]
cd45f7f0ff
Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 (#1591)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.14 to 1.6.18.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.14...v1.6.18)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 00:11:53 +01:00
Kubernetes Prow Robot
28c37cfd18
Merge pull request #1590 from vaibhav2107/registry-update
Update references from k8s.gcr.io to registry.k8s.io
2023-02-15 07:38:24 -08:00
vaibhav2107
9ced8e2ced Update references from k8s.gcr.io to registry.k8s.io 2023-02-14 17:35:45 +05:30
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