Commit Graph

1618 Commits

Author SHA1 Message Date
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
Kundan Kumar
fa2fc69e1f
updated link for daemonset (#1767) 2023-11-24 18:34:30 +01:00
dependabot[bot]
22c64fe738
chore(deps)(deps): bump github.com/compose-spec/compose-go
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.20.1 to 1.20.2.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.20.1...v1.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 14:34:27 +00:00
Kundan Kumar
42d5d1e349
deleted CHANGELOG.md (#1765) 2023-11-21 15:11:29 -05:00
dependabot[bot]
dfdc44b364
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1761)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.20.0...v1.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 18:15:28 +01:00
dependabot[bot]
0a8c682e4f
chore(deps)(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 (#1760)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.15.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-11-16 18:15:07 +01:00
dependabot[bot]
74ab4f21b4
chore(deps)(deps): bump k8s.io/api from 0.28.2 to 0.28.4 (#1762)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.28.2 to 0.28.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.28.2...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 18:14:37 +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
Kubernetes Prow Robot
293f232e5e
Merge pull request #1753 from AhmedGrati/feat-add-COMPOSE_FILE-env-variable
feat: Add `COMPOSE_FILE` env variable
2023-11-07 04:13:44 +01:00
Kubernetes Prow Robot
900f0b0b5e
Merge pull request #1752 from AhmedGrati/1745-add-test-for-pr-1743
test: add unit-test for PR 1743 v2
2023-11-07 04:10:58 +01:00
dependabot[bot]
f108b02318
chore(deps)(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1756)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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-11-06 16:19:59 +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
AhmedGrati
d633c31e15 test: add unit-tests for FormatEnvName function
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-05 13:20:25 +01:00
AhmedGrati
771e564645 test: add unit-tests for FormatEnvName function
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-11-05 13:20:25 +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
Kubernetes Prow Robot
3bbb75f48c
Merge pull request #1746 from shubhindia/fix/drop-status-field
remove status field from generated yaml
2023-10-30 23:56:41 +01:00
dependabot[bot]
35a9885d62
chore(deps)(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 (#1723)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.13.0...v0.14.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-10-30 18:02:02 +01:00
dependabot[bot]
44c98c82b2
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1740)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.19.0...v1.20.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-10-30 18:01:36 +01:00
dependabot[bot]
17f0f8f26e
chore(deps)(deps): bump github.com/docker/docker (#1747)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.3+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.3...v24.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 17:42:39 +01:00
shubhindia
f5278904cc mark regexp hack to be removed in future
Signed-off-by: shubhindia <shubhindia123@gmail.com>
2023-10-30 19:59:48 +05:30
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
shubhindia
21d8dc8a81 drop status field from yamls
Signed-off-by: shubhindia <shubhindia123@gmail.com>
2023-10-29 11:53:19 +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
Kubernetes Prow Robot
b3a3656c73
Merge pull request #1744 from AhmedGrati/fix-e2e-determinstic-output
fix: make transforming more deterministic
2023-10-25 00:38:50 +02:00
AhmedGrati
53de2c44fd fix failing unit tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 23:08:34 +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
dependabot[bot]
404b0caae7
chore(deps)(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 (#1742)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.28.2 to 0.28.3.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.28.2...v0.28.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:52:06 +01:00
Kubernetes Prow Robot
f722bfb6c1
Merge pull request #1737 from AhmedGrati/fix-e2e-test
fix e2e test
2023-10-17 14:21:40 +02: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