Commit Graph
1735 Commits
Author SHA1 Message Date
cortex3 ef1bca2641 improve error output for git commands 2024-11-07 20:14:18 +01:00
Kubernetes Prow Robot 1ebc27a6f5 Merge pull request #1950 from hurzelpurzel/main
Fix issue 1942
2024-11-06 15:23:29 +00:00
Ludger 131b092c8d Merge branch 'main' of github.com:hurzelpurzel/kompose 2024-10-30 23:39:34 +01:00
Ludger d529bb9c41 clean double to lower 2024-10-30 23:37:49 +01:00
Ludger Pottmeier ccea3fa482 Merge branch 'kubernetes:main' into main 2024-10-30 23:29:57 +01:00
Ludger 470fb50146 fix upercas issue 2024-10-30 23:27:42 +01:00
Ludger d5de021f51 fix retract issue 2024-10-30 23:04:03 +01:00
Kubernetes Prow Robot ca361e5358 Merge pull request #1948 from sadikkuzu/patch-1
chore(deps): bump pre-commit hook versions
2024-10-30 14:37:26 +00:00
SADIK KUZU 24a18a25b1 chore(deps): bump pre-commit hook versions 2024-10-29 20:56:36 +03:00
Ludger Pottmeier a103f37f4a Update kubernetes.go
Fix issue #1942
2024-10-25 00:12:30 +02:00
dependabot[bot] eab2c0119e chore(deps)(deps): bump github.com/compose-spec/compose-go/v2 (#1931)
Bumps [github.com/compose-spec/compose-go/v2](https://github.com/compose-spec/compose-go) from 2.1.6 to 2.2.0.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v2.1.6...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go/v2
  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-09-24 08:15:09 -04:00
dependabot[bot] 62fe3e7941 chore(deps)(deps): bump k8s.io/api from 0.30.3 to 0.31.1 (#1933)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.30.3 to 0.31.1.
- [Commits](https://github.com/kubernetes/api/compare/v0.30.3...v0.31.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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-09-24 08:15:04 -04:00
Kubernetes Prow Robot 5b563e7a80 Merge pull request #1930 from kubernetes/dependabot/go_modules/golang.org/x/tools-0.25.0
chore(deps)(deps): bump golang.org/x/tools from 0.24.0 to 0.25.0
2024-09-13 14:45:13 +01:00
sazriel26 0ccdd74918 [completion] Add header #compdef (#1915) 2024-09-13 09:43:26 -04:00
Kubernetes Prow Robot fa6a5c9c6a Merge pull request #1927 from kubernetes/dependabot/go_modules/github.com/fsouza/go-dockerclient-1.12.0
chore(deps)(deps): bump github.com/fsouza/go-dockerclient from 1.11.2 to 1.12.0
2024-09-13 14:43:13 +01:00
dependabot[bot] 6a6256ebae chore(deps)(deps): bump golang.org/x/tools from 0.24.0 to 0.25.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.24.0...v0.25.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>
2024-09-10 14:50:38 +00:00
Kubernetes Prow Robot 15a9212961 Merge pull request #1929 from favonia/gid
feature: support UID:GID in the user key
2024-09-05 20:02:50 +01:00
favonia 0ace11079e feature: support UID:GID in the user key 2024-08-30 13:57:58 -05:00
dependabot[bot] 531e143273 chore(deps)(deps): bump github.com/fsouza/go-dockerclient
Bumps [github.com/fsouza/go-dockerclient](https://github.com/fsouza/go-dockerclient) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/fsouza/go-dockerclient/releases)
- [Changelog](https://github.com/fsouza/go-dockerclient/blob/main/container_changes_test.go)
- [Commits](https://github.com/fsouza/go-dockerclient/compare/v1.11.2...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 14:27:00 +00:00
dependabot[bot] 51d61400e0 chore(deps)(deps): bump k8s.io/api from 0.30.0 to 0.30.3 (#1910)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.30.0 to 0.30.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.30.0...v0.30.3)

---
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>
2024-08-09 10:24:47 +02:00
dependabot[bot] 844a68bd8c chore(deps)(deps): bump k8s.io/apimachinery from 0.30.0 to 0.30.3 (#1911)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.30.0 to 0.30.3.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.0...v0.30.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>
2024-08-09 10:17:38 +02:00
dependabot[bot] eb3ca67ca2 chore(deps)(deps): bump golang.org/x/tools from 0.20.0 to 0.24.0 (#1918)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.20.0 to 0.24.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.20.0...v0.24.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-08-09 10:17:19 +02:00
dependabot[bot] 5ca9a11c1a chore(deps)(deps): bump github.com/compose-spec/compose-go/v2 (#1919)
Bumps [github.com/compose-spec/compose-go/v2](https://github.com/compose-spec/compose-go) from 2.1.0 to 2.1.6.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v2.1.0...v2.1.6)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go/v2
  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>
2024-08-09 10:16:57 +02:00
dependabot[bot] 9e34fba8b4 chore(deps)(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0 (#1920)
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.6.0...v1.7.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>
2024-08-09 10:16:38 +02:00
TessaIO 6e06833968 chore: upgrade fsouza/godockerclient and docker/docker packages (#1921) 2024-08-08 14:47:07 -04:00
Charlie Drage cbf2835db7 1.34.0 Release (#1890) 2024-06-02 19:20:46 -04:00
Charlie DrageandTessaIO 6a5c64600e docs: update user guide (#1882)
* docs: update user guide

#### 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 user guide completely revamp it / describe each label.

#### 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/1584
Closes https://github.com/kubernetes/kompose/issues/1577

#### Special notes for your reviewer:
Signed-off-by: Charlie Drage <charlie@charliedrage.com>

Please check the docs examples / each label that it's okay!

* Update docs/user-guide.md

Co-authored-by: TessaIO <ahmedgrati1999@gmail.com>

* Update docs/user-guide.md

Co-authored-by: TessaIO <ahmedgrati1999@gmail.com>

* Update docs/user-guide.md

Co-authored-by: TessaIO <ahmedgrati1999@gmail.com>

* update capitalization

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Co-authored-by: TessaIO <ahmedgrati1999@gmail.com>
2024-06-02 20:47:10 +02:00
Charlie Drage 55b077ab04 cleanup: removes uneeded annotation when not using network policy (#1884)
#### 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:

Removes the network policy annotation which is not needed (we are not
generating network policy)

#### 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 https://github.com/kubernetes/kompose/issues/1759

#### Special notes for your reviewer:
2024-06-02 20:46:57 +02:00
Charlie Drage 1f7441845e bug: fix annotation bug (#1887)
#### 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:

When supplying a label in the compose file, it should stay in the output
too.

#### 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 https://github.com/kubernetes/kompose/issues/1885

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2024-06-02 20:46:39 +02:00
Charlie Drage 50ec43d1e0 tests: fix flakey tests (#1886)
#### 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 two flakey tests. One which is returning them in random
orders..

The other which is not available to run on mac due to not being able
"access" the folders.

#### 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-05-30 11:51:02 -04:00
Charlie Drage b08a83ccbb chore: fix test file names (#1889)
#### 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:

Removes the gen file, removes the old test file.

#### 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-05-30 11:50:16 -04:00
Charlie Drage d295662ee4 update owners (#1888)
#### 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 owners as people who haven't reviewed / approved for a while
keep getting pings / notifications about reviewing.

#### 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-05-30 16:20:31 +02:00
TessaIO 3bf98301f7 fix: expose container to host only with labels (#1880)
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-05-29 16:05:04 -04:00
Charlie Drage 29f6765fc6 feature: change example to use non-root (#1879)
#### 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:

This changes our example to use non-root so it runs well on non-root
clusters (ex. openshift).

We also add debugging tools so we can safely explore the container.

/tmp is also added as the directory for the replica or else it fails.

#### 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>
2024-05-29 18:51:37 +02:00
Charlie Drage 50e0408f6f update references to just compose (#1869)
#### What type of PR is this?

Change from Docker Compose references to just Compose

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

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

Compose is an open format and we should not say "Docker Compose".

#### 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 https://github.com/kubernetes/kompose/issues/1868

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2024-04-26 10:24:55 +02:00
Charlie Drage 3ce4573997 1.33.0 Release (#1866) 2024-04-25 18:46:51 -04:00
Kubernetes Prow Robot 0ba68fb88d Merge pull request #1865 from sosan/fix-dependencies
update dependencies to last version and go 1.22
2024-04-25 15:40:08 -07:00
Kubernetes Prow Robot c7e783e87d Merge pull request #1854 from sosan/fix-1853
fix 1853
2024-04-25 15:26:33 -07:00
jose luis 840cfa657d update to go 1.22 and latest update
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 23:53:30 +02:00
jose luis 19860cbea3 update k8s api and apimachinery
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 23:41:42 +02:00
jose luis 487dab8712 update go-dockerclient to 1.11.0
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 23:33:41 +02:00
jose luis 17ec585065 update compose-go to 2.1.0
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
2024-04-25 23:29:13 +02:00
jose luis 60309de5b2 Merge branch 'main' into fix-1853 2024-04-25 21:14:29 +02:00
Kubernetes Prow Robot e4ca58bcf2 Merge pull request #1848 from sosan/feature-1846-network_mode-service
add networkmode service:
2024-04-25 09:56:29 -07: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
Kubernetes Prow Robot 601900d660 Merge pull request #1852 from sosan/feature-1794-auto-configmaps
add configmaps derived from file and dir
2024-04-25 05:56:20 -07:00
Kubernetes Prow Robot 9cc3327704 Merge pull request #1837 from sosan/feature-1635-with-labels
customize resource name individually via labels kompose.service.name_override
2024-04-25 05:46:21 -07:00
cuiyourong d274f9947d chore: fix some typos in comments (#1863)
Signed-off-by: cuiyourong <cuiyourong@gmail.com>
2024-04-25 08:41:58 -04:00
jose luis 8ee944c2be Merge branch 'main' into feature-1846-network_mode-service 2024-04-22 15:46:45 +02:00