Commit Graph

1654 Commits

Author SHA1 Message Date
TessaIO
456c6f67ae
chore: replace AhmedGrati with TessaIO (#1835)
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2024-03-01 15:20:10 -05:00
Kubernetes Prow Robot
b2514e1c81
Merge pull request #1831 from realgam3/fix-configmap-volumes
fix issues #1829, #1830
2024-02-20 20:45:04 -08:00
Jose Luis
c0f7e910c8
in case /run/secrets/MARIADB_PASSWORD and secrets: MARIADB_PASSWORD are in uppercase, reformat the value of MARIADB_PASSWORD to mariadb-password. Also, reformat the secretconfig of the secrets. getSecretPathsLegacy returns secretSubPath. (#1826)
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-02-20 23:35:18 -05:00
Tomer Zait
db6a4d7ce1 fix issues #1829, #1830 2024-02-18 10:50:15 +02:00
Kubernetes Prow Robot
d872afb377
Merge pull request #1824 from thelamer/dockerfile-update
#1821 update Dockerfile to alwyas use head Alpine
2024-02-12 12:12:28 -08:00
Kubernetes Prow Robot
b768a43fbe
Merge pull request #1799 from sosan/fix-issue-1778
fix issue 1778
2024-02-12 11:23:57 -08:00
Kubernetes Prow Robot
4211798ac6
Merge pull request #1823 from utkarsh-singh1/update-readme-md-and-installation-md
Cleanup README.md
2024-02-12 11:20:56 -08:00
thelamer
61680d1b55 #1821 update Dockerfile to alwyas use head Alpine 2024-02-12 10:37:34 -08:00
utkarsh-singh1
2f655492a1 Update /docs/installation.md
Signed-off-by: utkarsh-singh1 <utkarsh.singh1@india.nec.com>
2024-02-12 16:06:02 +05:30
utkarsh-singh1
8bdd22d531 Remove Operating Systems where kompose binary does not exist or available in old versions
Signed-off-by: utkarsh-singh1 <utkarsh.singh1@india.nec.com>
2024-02-12 15:09:26 +05:30
jose luis
6ce08bb234
merged from main and dummy coments 2024-02-07 19:40:53 +01:00
Jose Luis
182e0ce294
Merge branch 'kubernetes:main' into fix-issue-1778 2024-02-07 18:35:28 +01:00
jose luis
b095982ddf
adds a unit test for the TestKubernetes_CreateSecrets function where secrets are created in Kubernetes from a KomposeObject, and secrets are taken from a CNAME file. Also, a newSecrets function is added to generate secrets from the provided configuration
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-02-07 18:29:33 +01:00
Kubernetes Prow Robot
b3383bd2b0
Merge pull request #1819 from realgam3/fix-client
fix client/convert (issue https://github.com/kubernetes/kompose/issue
2024-02-05 06:09:26 -08:00
Tomer Zait
4d4ff4e394 fix client/convert (issue https://github.com/kubernetes/kompose/issues/1818) 2024-02-04 12:07:05 +02:00
Kubernetes Prow Robot
52e5dbda55
Merge pull request #1798 from sosan/fix-issue-1793
fix issue 1793
2024-02-01 06:35:27 -08:00
Kubernetes Prow Robot
e86959459c
Merge pull request #1816 from martinjirku/1815-add-trademarks
docs(1815): add trademarks link ref to linux foundation
2024-02-01 06:32:18 -08:00
Martin Jirku
8b9fcb3826
docs(1815): add trademarks link ref to linux foundation
Signed-off-by: Martin Jirku <martin@jirku.sk>
2024-01-27 22:12:51 +01:00
jose luis
b544c17472
fix issue 1778
* fix issue https://github.com/kubernetes/kompose/issues/1778
*add tests with hardcoded values to mokup file access

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-01-27 18:47:54 +01:00
jose luis
578fa72a9a
fix issue 1793
* fix issue 1793  https://github.com/kubernetes/kompose/issues/1793
*add tests

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

formated k8utils_test.go

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

labels formatted as name"-"envName to match fixtures when performing the gitHub action

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

removed this piece code because apply it later, and it is redundant

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

Refactor test in k8sutils_test.go to extract the last 63 characters. This addresses the impact of the removed code that previously truncated the input with if len(envName) > 63 { envName = envName[len(envName)-63:] }

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

changed to name function to getUsableNameEnvFile

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

fix issue 1793

* fix issue 1793  https://github.com/kubernetes/kompose/issues/1793
*add tests

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

labels formatted as name"-"envName to match fixtures when performing the gitHub action

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>

changed to name function to getUsableNameEnvFile

Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-01-24 23:41:01 +01:00
Kubernetes Prow Robot
3499798b5a
Merge pull request #1813 from leovct/chore/update-kompose-convert-help
chore: update `kompose convert --help`
2024-01-23 14:29:39 +01:00
leovct
b350d95c08
chore: update kompose convert --help 2024-01-22 15:51:49 +01:00
Kubernetes Prow Robot
8b3595ec5f
Merge pull request #1808 from martinjirku/1711-help-page
docs(cli): introduce examples in the kompose command
2024-01-19 01:15:20 +01:00
Martin Jirku
e5e2fe2528
chore: format by gofmt
Signed-off-by: Martin Jirku <martin@jirku.sk>
2024-01-18 22:39:36 +01:00
Martin Jirku
6ba1ff77de
docs(cli): remove docker name from cli Examples
Signed-off-by: Martin Jirku <martin@jirku.sk>
2024-01-18 21:52:35 +01:00
Charlie Drage
5fa804c274
docs: update readme (#1807)
#### What type of PR is this?

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

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

Updates the readme by:
* Removing small amount of references to Docker since Compose is an open spec
* Changing to correct redis terminology

#### 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>
2024-01-18 16:11:56 +01:00
Charlie Drage
765fde2540
1.32.0 Release (#1811) 2024-01-18 10:02:06 -05:00
Martin Jirku
ae975a818d
docs(cli): introduce examples in the kompose command
Signed-off-by: Martin Jirku <martin@jirku.sk>
2024-01-17 21:42:48 +01:00
Kubernetes Prow Robot
f11ce5491e
Merge pull request #1806 from realgam3/cronjob
Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795
2024-01-17 21:09:24 +01:00
Tomer Zait
e8671e9779 remove example files 2024-01-17 01:20:47 +02:00
Tomer Zait
cd6a318896 Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795 2024-01-16 23:44:49 +02:00
Charlie Drage
770da91eec
change wording for redis leader (#1804)
#### What type of PR is this?

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

/kind documentation

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

We should not be using the outdated redis terms, instead redis now uses
leader / replica.

#### 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>
2024-01-16 09:49:54 -05:00
Charlie Drage
bd868aac79
2024 copyright change (#1805)
#### What type of PR is this?

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

/kind documentation

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

It's 2024 now

#### 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>
2024-01-16 09:49:25 -05:00
Charlie Drage
575066d3ed
Add new examples to kompose (#1803)
#### 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:

Fixes the current broken examples by:

* Removing all the old incompatible ones (we do not really support v3
  anymore or v2... since switching libraries)
* Uses quay.io/kompose/web as our front end example which is a fork of
  the guestbook-go kubernetes examples

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

Closes https://github.com/kubernetes/kompose/issues/1757

#### Special notes for your reviewer:

Test using docker-compose (you'll see it come up!), then try with
kompose :)

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2024-01-16 09:37:31 -05:00
Kubernetes Prow Robot
5f0c1c9c50
Merge pull request #1801 from AhmedGrati/fix-e2e-tests-configmap-pod
test: fix e2e tests for configmap pod test
2024-01-15 21:56:09 +01:00
AhmedGrati
b66c54e2ae test: fix e2e tests for configmap pod test
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2024-01-14 10:46:03 +01:00
Kubernetes Prow Robot
7f670b074d
Merge pull request #1787 from dipesh-rawat/add-vex-feed
Initialize OpenVEX feed
2024-01-03 22:25:27 +01:00
Kubernetes Prow Robot
bd568ba30b
Merge pull request #1775 from martinjirku/1758-remove-useless-keys-in-output
feat(1765): remove useless keys from the output yml
2024-01-03 22:23:16 +01:00
Tomer Zait
92ca12ae5b
fix issue https://github.com/kubernetes/kompose/issues/1683 (#1684)
* fix issue https://github.com/kubernetes/kompose/issues/1683

* add tests, die if inputfiles not specified

* fix GetComposeFileDir function and use it

* use fixed GetComposeFileDir instead of filepath.Dir

* return error instead of fatal

* add pod configmap creation to openshift
2024-01-02 14:48:59 -05:00
Martin Jirku
f80ad97307
feat(1765): update tests, move unit test to proper file, improve removeEmptyInterfaces algo
Signed-off-by: Martin Jirku <martin@jirku.sk>
2024-01-01 12:07:44 +01:00
dependabot[bot]
63f60e66fe
chore(deps)(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#1769)
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  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-12-20 12:56:25 +01:00
dependabot[bot]
c27b3a9195
chore(ci)(deps): bump actions/setup-go from 4 to 5 (#1776)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 12:55:58 +01:00
dependabot[bot]
055170fe80
chore(deps)(deps): bump golang.org/x/tools from 0.15.0 to 0.16.1 (#1781)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.15.0 to 0.16.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.15.0...v0.16.1)

---
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-12-20 12:54:38 +01:00
dependabot[bot]
f568baf5ad
chore(ci)(deps): bump actions/upload-artifact from 3 to 4 (#1784)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 12:54:08 +01:00
dependabot[bot]
d333e58f5d
chore(deps)(deps): bump github.com/containerd/containerd (#1791)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.18 to 1.6.26.
- [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.18...v1.6.26)

---
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-12-20 12:53:37 +01:00
Dipesh Rawat
7b0464edab
Add VEX Feed 2023-12-15 19:11:43 +00:00
Martin Jirku
3a818f4b01
feat(1765): remove useless keys from the outpu yml
Signed-off-by: Martin Jirku <martin@jirku.sk>
2023-12-07 08:30:32 +01:00
Kubernetes Prow Robot
af06917dbb
Merge pull request #1774 from utkarsh-singh1/update-docs-installation-md
Removed fedora installation instruction from installation.md
2023-12-04 21:11:15 +01:00
utkarsh-singh1
9ecf2f919e Removed fedora installation instruction from installation.md
Signed-off-by: utkarsh-singh1 <utkarsh.singh1@india.nec.com>
2023-12-05 00:03:25 +05:30
Kubernetes Prow Robot
0405de4f6d
Merge pull request #1768 from kubernetes/dependabot/go_modules/github.com/compose-spec/compose-go-1.20.2
chore(deps)(deps): bump github.com/compose-spec/compose-go from 1.20.1 to 1.20.2
2023-11-24 20:34:06 +01:00