jose luis
60309de5b2
Merge branch 'main' into fix-1853
2024-04-25 21:14:29 +02:00
jose luis
ec6153e0a5
Merge branch 'main' into fix-1853
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 18:02:52 +02:00
jose luis
3c189aaff1
Merge branch 'main' into feature-1846-network_mode-service
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 17:31:49 +02:00
jose luis
8ee944c2be
Merge branch 'main' into feature-1846-network_mode-service
2024-04-22 15:46:45 +02:00
jose luis
bbd91be049
Merge branch 'main' into feature-1794-auto-configmaps
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-22 13:37:00 +02:00
jose luis
7713c9d43d
Merge branch 'main' into fix-1853
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-22 12:57:36 +02:00
jose luis
fb364020c2
added eof file
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-22 12:54:02 +02:00
jose luis
154c6f63c0
add e2e to check env var with status value
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-11 15:59:22 +02:00
jose luis
d43e210f04
Merge branch 'main' into feature-1846-network_mode-service
...
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-10 18:21:25 +02:00
jose luis
405ab61479
Merge branch 'main' into feature-1631-add-hpa
2024-04-10 13:24:35 +02:00
jose luis
1010e1a916
Merge branch 'main' into feature-1794-auto-configmaps
2024-04-10 00:50:37 +02:00
jose luis
e9f64cfd81
added more e2e, more tests
...
fallback to skip volume mount and log warning when path cannot be resolved, as /sys, /root, /var/lib/docker
in e2e TestMultipleContainersInPod directory /data replaced with /data-dir
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-10 00:33:57 +02:00
Jose Luis
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
4cd0b268fc
add configmaps derived from file and dir
...
add tests and e2e
function isconfigfile check if we need to use configmap and mount in readonly
readonly not asigned because not fail e2e
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-07 21:18:01 +02: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
04acbf111f
added tests
...
add e2e
2024-04-03 19:31:46 +02:00
jose luis
516930ccee
added more tests
...
e2e tests
fixed name labels
2024-04-02 17:31:19 +02: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
Tomer Zait
cd6a318896
Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795
2024-01-16 23:44:49 +02: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
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
AhmedGrati
fd3fee64fb
fix: make resources names lowercase ( #1755 )
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-08 11:29:39 +01:00
Kubernetes Prow Robot
ce0288b7bc
Merge pull request #1754 from AhmedGrati/fix-annotations-disable
...
fix: disable annotations when flag `--with-kompose-annotation=false` is specified
2023-11-07 04:16:35 +01:00
AhmedGrati
a8183a22f7
fix: disable annotations when flag is specified
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-05 19:31:58 +01:00
AhmedGrati
867adcf83a
docs: add COMPOSE_FILE env variable to user-guide.md
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-05 15:31:39 +01:00
AhmedGrati
a91b57ef2e
feat: add COMPOSE_FILE env variable
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-05 15:02:36 +01:00
Kubernetes Prow Robot
032b61a656
Merge pull request #1750 from AhmedGrati/1748-bug-kompose-should-raise-and-error-when-profiles-are-required
...
chore: add warning when no service is selected
2023-11-02 00:36:41 +01:00
AhmedGrati
a4ae9f9df4
chore: add warning when no service is selected
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-01 17:18:46 +01:00
shubhindia
204dff4dab
drop openshift status as well
...
Signed-off-by: shubhindia <shubhindia123@gmail.com>
2023-10-30 15:16:24 +05:30
shubhindia
9d3dfeab41
drop status field from test yamls
...
Signed-off-by: shubhindia <shubhindia123@gmail.com>
2023-10-29 12:08:59 +05:30
Thijs Broersen
7826534666
fix: env_file configmap name length ( #1743 )
...
* fix: env_file configmap name length
fix filename to configmap name transformer
* fix configmap names in tests
* add env-multiple fixture and test
* adjust to test
* disable env-multiple suite
2023-10-27 10:48:55 +01:00
AhmedGrati
fa96d2b80a
fix: remove e2e flakiness by making the loop deterministic
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 16:34:28 +01:00
AhmedGrati
0a3b1897c0
fix: remove e2e flakiness by making the loop deterministic
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 16:31:22 +01:00
AhmedGrati
3172bc05b5
fix: remove e2e flakiness by making the loop deterministic
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 16:19:22 +01:00
AhmedGrati
37a1dc26ad
fix: update flaky e2e test
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 12:11:45 +01:00
AhmedGrati
40e19877ab
fix: update flaky e2e test
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 11:35:44 +01:00
AhmedGrati
1dc9f0bc93
fix: add exit 1 to spot failed errors
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 11:20:56 +01:00
AhmedGrati
6725250b33
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:58:52 +01:00
AhmedGrati
e86dd3f16a
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:57:05 +01:00
AhmedGrati
615e0af371
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:50:52 +01:00
AhmedGrati
7d99530025
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:40:19 +01:00
AhmedGrati
422e450615
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:37:42 +01:00
AhmedGrati
a1eec7bbe8
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:34:23 +01:00
AhmedGrati
1b6d901aa0
chore: install dyff in CI pipeline
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:26:11 +01:00
AhmedGrati
c76361bd99
fix: add exit on error for e2e tests
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:01:27 +01:00
AhmedGrati
4c203d941e
fix: use dyff to check that yaml files are equal
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-14 18:24:19 +01:00
AhmedGrati
115f3862fc
fix: update part of e2e tests
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-11 20:09:07 +01:00
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