jose luis
2029409b73
changed compose types to version 2
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
2024-04-22 13:56:55 +02:00
jose luis
a050907ef4
Merge branch 'main' into feature-1635-with-labels
2024-04-22 13:47:24 +02:00
Kubernetes Prow Robot
cdcb0e7f61
Merge pull request #1847 from sosan/feature-1631-add-hpa
...
Feature 1635 - added labels to generate HPA
2024-04-19 05:24:52 -07:00
racequite
58a82b6f45
chore: fix function name in comment ( #1861 )
...
Signed-off-by: racequite <quiterace@gmail.com >
2024-04-19 09:58:33 +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
a589f1d6e9
Merge branch 'main' into feature-1635-with-labels
2024-04-10 17:29:38 +02:00
jose luis
e4ccf2edc9
rectified markdown spacing on columns
...
reformat k8sutils_tests.go
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
2024-04-10 13:39:28 +02:00
jose luis
405ab61479
Merge branch 'main' into feature-1631-add-hpa
2024-04-10 13:24:35 +02:00
c9c1080306
adds a label for initContainers, test and user-guide ( #1840 )
...
* adds a label for initContainers, test and user-guide
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
* solved suggestion version from 2 to 3, coments
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
* test e2e
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
* add target to kompose build
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
* chore(deps)(deps): bump golang.org/x/tools from 0.16.1 to 0.19.0 (#1836 )
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.16.1 to 0.19.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.16.1...v0.19.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>
* changed var names contaers to containers
changed labels to kompose.init.container.name, kompose.init.container.image, kompose.init.container.command
fixed documentation, tests and e2e
also merged main with new commits to this branch
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
---------
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com >
2024-04-08 08:49:09 -04:00
jose luis
8ff0f334eb
fix EOF, DefaultMaxReplicas set to 3, extended user guide about hpa, more tests
...
add warning in situations like:
- maxreplicas < minreplicas
- value from label < 0
- validate percentage in cpu, memory metrics
2024-04-04 20:21:00 +02:00
jose luis
516930ccee
added more tests
...
e2e tests
fixed name labels
2024-04-02 17:31:19 +02:00
jose luis
a38f7f9ea3
added this labels:
...
kompose.hpa.minreplicas
kompose.hpa.maxreplicas
kompose.hpa.cpu
kompose.hpa.memory
documentated labels user_guide.md
generate custom metrics from cpu, memory and set min/max replicas
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
2024-03-26 20:58:57 +01:00
Ambrose Chua
f291caa00d
Add tests for parseEnvFiles
2024-03-25 10:34:39 +08:00
Kubernetes Prow Robot
14152d4a81
Merge pull request #1841 from sosan/fix-issue-1839
...
Adds ability to specify the stage/target of a multistage dockerfile
2024-03-21 05:18:09 -07:00
Ambrose Chua
5ba743afea
chore(deps): bump minimum Go version to 1.21
2024-03-19 15:06:03 +08:00
Ambrose Chua
ea485a7806
chore(deps): bump github.com/compose-spec/compose-go
2024-03-19 14:34:58 +08:00
dependabot[bot]
ad04bc0894
chore(deps)(deps): bump golang.org/x/tools from 0.16.1 to 0.19.0 ( #1836 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.16.1 to 0.19.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.16.1...v0.19.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>
2024-03-16 22:08:35 +01: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
jose luis
7b6888edd1
customize the resource name individually via labels kompose.service.name_override
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com >
2024-03-10 13:57:24 +01:00
TessaIO
497809c81c
chore: unify e2e tests to compose yaml ( #1834 )
...
* chore: unify e2e tests to compose yaml
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com >
* chore: update tests_new.sh to reflect changes of files names
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com >
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com >
2024-03-01 15:21:54 -05:00
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