Skip to content

Commit

Permalink
feat: Release 2.20.3 (#1947)
Browse files Browse the repository at this point in the history
* chore(dependabot): bump google.golang.org/grpc from 1.57.0 to 1.57.1 (#1817)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.57.0...v1.57.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/apimachinery from 0.28.1 to 0.28.3 (#1809)

Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.28.1 to 0.28.3.
- [Commits](kubernetes/apimachinery@v0.28.1...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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/client-go from 0.28.1 to 0.28.3 (#1810)

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.1 to 0.28.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.28.1...v0.28.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump go.uber.org/zap from 1.25.0 to 1.26.0 (#1794)

Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](uber-go/zap@v1.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump sigs.k8s.io/controller-runtime (#1811)

Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.15.1 to 0.16.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.15.1...v0.16.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* update code owner (#1831)

* update the owner

* remove path

* chore(dependabot): bump github.com/go-logr/logr from 1.2.4 to 1.3.0 (#1826)

Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](go-logr/logr@v1.2.4...v1.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Increase retires and curation for kustomize applying (#1833)

* stop print out password (#1832)

* update the owner

* remove path

* stop print out sensitive password

* chore(dependabot): bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#1824)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.12.1...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 (#1825)

Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.100.1 to 2.110.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](kubernetes/klog@v2.100.1...v2.110.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1827)

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](spf13/cobra@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adjusts the Conventional Commits GitHub Action config (#1830)

* Increase retry count for kustomize applying (#1838)

* chore(dependabot): bump sigs.k8s.io/kustomize/api (#1828)

Bumps [sigs.k8s.io/kustomize/api](https://github.com/kubernetes-sigs/kustomize) from 0.13.5-0.20230601165947-6ce0bf390ce3 to 0.15.0.
- [Release notes](https://github.com/kubernetes-sigs/kustomize/releases)
- [Commits](https://github.com/kubernetes-sigs/kustomize/commits/api/v0.15.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/containerd/containerd (#1834)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.6 to 1.7.8.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.6...v1.7.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/mandelsoft/vfs (#1835)

Bumps [github.com/mandelsoft/vfs](https://github.com/mandelsoft/vfs) from 0.0.0-20230714093241-d557f163aecd to 0.4.0.
- [Release notes](https://github.com/mandelsoft/vfs/releases)
- [Commits](https://github.com/mandelsoft/vfs/commits/v0.4)

---
updated-dependencies:
- dependency-name: github.com/mandelsoft/vfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump istio.io/client-go from 1.19.0 to 1.19.4 (#1839)

Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.19.0 to 1.19.4.
- [Commits](istio/client-go@1.19.0...1.19.4)

---
updated-dependencies:
- dependency-name: istio.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/sigstore/cosign/v2 (#1829)

Bumps [github.com/sigstore/cosign/v2](https://github.com/sigstore/cosign) from 2.1.1 to 2.2.1.
- [Release notes](https://github.com/sigstore/cosign/releases)
- [Changelog](https://github.com/sigstore/cosign/blob/main/CHANGELOG.md)
- [Commits](sigstore/cosign@v2.1.1...v2.2.1)

---
updated-dependencies:
- dependency-name: github.com/sigstore/cosign/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 (#1843)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.13.0...v2.13.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/go-logr/zapr from 1.2.4 to 1.3.0 (#1842)

Bumps [github.com/go-logr/zapr](https://github.com/go-logr/zapr) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/go-logr/zapr/releases)
- [Commits](go-logr/zapr@v1.2.4...v1.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/onsi/gomega from 1.27.10 to 1.30.0 (#1844)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.30.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.10...v1.30.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#1845)

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](fatih/color@v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump istio.io/client-go from 1.19.4 to 1.20.0 (#1850)

Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.19.4 to 1.20.0.
- [Commits](istio/client-go@1.19.4...1.20.0)

---
updated-dependencies:
- dependency-name: istio.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/cli-runtime from 0.28.1 to 0.28.3 (#1849)

Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.28.1 to 0.28.3.
- [Commits](kubernetes/cli-runtime@v0.28.1...v0.28.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0 (#1847)

Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](go-git/go-git@v5.9.0...v5.10.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/client-go from 0.28.3 to 0.28.4 (#1852)

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.3 to 0.28.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.28.3...v0.28.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump helm.sh/helm/v3 from 3.12.3 to 3.13.2 (#1841)

* chore(dependabot): bump helm.sh/helm/v3 from 3.12.3 to 3.13.2

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.12.3 to 3.13.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.12.3...v3.13.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* allow for docker libs bump

* allow for Docker API negotiation

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tomasz Smelcerz <[email protected]>

* fix: Module creation e2e (#1860)

* fix: Adapt module creation e2e for new layer

* add new testcases for additional resource

* retrigger jobs

* remove prefixing module version with v

* pass sec-scanner file to fix config

* add sec scan label subprojects

* retrigger jobs

* parse subprojects

* fix order of contain assert

* adapt version for same version test

* chore(dependabot): bump github.com/go-jose/go-jose/v3 (#1861)

Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3/CHANGELOG.md)
- [Commits](go-jose/go-jose@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jeremyharisch <[email protected]>

* chore(dependabot): bump k8s.io/apiextensions-apiserver (#1856)

Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.28.3 to 0.28.4.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.28.3...v0.28.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jeremyharisch <[email protected]>

* chore(dependabot): bump github.com/containerd/containerd (#1857)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.8 to 1.7.9.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.8...v1.7.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jeremyharisch <[email protected]>

* chore(dependabot): bump k8s.io/cli-runtime from 0.28.3 to 0.28.4 (#1858)

Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.28.3 to 0.28.4.
- [Commits](kubernetes/cli-runtime@v0.28.3...v0.28.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Fix Zip Slip Vulnerability (#1864)

* Fix Zip Slip Vulnerability

* Apply suggestions from code review

Co-authored-by: Benjamin Lindner <[email protected]>

---------

Co-authored-by: Benjamin Lindner <[email protected]>

* chore(dependabot): bump github.com/go-git/go-git/v5 (#1869)

Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](go-git/go-git@v5.10.0...v5.10.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Allow creating module for existing versions (#1865)

* Fix logging

* Implementation for the difference detection

* Adjust E2E test

* Fix E2E test

* Add OCI interface

* Start unit test

* Fix mock

* Unit test

* Code review comments

* feat: Introduce Mandatory Spec field for ModuleTemplate (#1866)

* Quick safe

* Add test

* Adapt e2e test

* Use shared pkg instead of api

* Use shared pkg instead of api

* Refactor unit test after upgrading KLM deps

* Use working dir in action

* Use working dir in action

* Fix nil pointer reference

* revert action changes

* fix wrong if condition

* set mandatory to optional

* Move mandatory to higher place

* chore(dependabot): bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#1870)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.13.1...v2.13.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/containerd/containerd (#1871)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.9 to 1.7.10.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.9...v1.7.10)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Disable mocks from security scanning (#1872)

* Adds a sprint commits report (#1880)

* chore: Remove istio patching from legacy deploy (#1876)

* chore: Remove istio patching from legacy deploy

* retrigger jobs

* chore: Reference lifecycle manager api module (#1881)

* Reference LM api module

* upgrade lm api

* code review comments

* code review comments

* bump reconciler (#1886)

* chore(dependabot): bump sigs.k8s.io/kustomize/api from 0.15.0 to 0.16.0 (#1878)

Bumps [sigs.k8s.io/kustomize/api](https://github.com/kubernetes-sigs/kustomize) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/kubernetes-sigs/kustomize/releases)
- [Commits](kubernetes-sigs/kustomize@api/v0.15.0...api/v0.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump helm.sh/helm/v3 from 3.13.2 to 3.13.3 (#1890)

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/go-git/go-git/v5 (#1882)

Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](go-git/go-git@v5.10.1...v5.11.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(report): Adjusts the "Sprint Commits Test Suites" report to report E2E and Integration tests separately (#1891)

* Adjusts the "Sprint Commits Test Suites" report

* Fixes a typo

* Unify SemVer pkg usage (#1895)

* chore(dependabot): bump github.com/containerd/containerd (#1883)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.10 to 1.7.11.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.10...v1.7.11)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump istio.io/client-go from 1.20.0 to 1.20.1 (#1884)

Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.20.0 to 1.20.1.
- [Commits](istio/client-go@1.20.0...1.20.1)

---
updated-dependencies:
- dependency-name: istio.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/go-logr/logr from 1.3.0 to 1.4.1 (#1901)

Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](go-logr/logr@v1.3.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump the go_modules group across 1 directories with 1 update (#1899)

Bumps the go_modules group with 1 update in the /. directory: [github.com/cloudflare/circl](https://github.com/cloudflare/circl).


Updates `github.com/cloudflare/circl` from 1.3.6 to 1.3.7
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](cloudflare/circl@v1.3.6...v1.3.7)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/docker/go-connections (#1902)

Bumps [github.com/docker/go-connections](https://github.com/docker/go-connections) from 0.4.0 to 0.5.0.
- [Commits](docker/go-connections@v0.4.0...v0.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump istio.io/client-go from 1.20.1 to 1.20.2 (#1903)

Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.20.1 to 1.20.2.
- [Commits](istio/client-go@1.20.1...1.20.2)

---
updated-dependencies:
- dependency-name: istio.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/klog/v2 from 2.110.1 to 2.120.0 (#1905)

Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.110.1 to 2.120.0.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](kubernetes/klog@v2.110.1...v2.120.0)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add mandatory documentation (#1904)

* chore(dependabot): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0 (#1910)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/containerd/containerd (#1911)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.11 to 1.7.12.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.11...v1.7.12)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Remove Module Validation from create module command (#1909)

* Remove module Validation

* Fix

* feat: Add Scaffold Command (#1859)

* feat: Add Scaffold Command

* feat: Add Docs

* feat: Add Docs

* docs(scaffold.go): Fix Long Description

* trigger build

* docs(scaffold.go): Update Md Files

* Update cmd/kyma/alpha/create/scaffold/scaffold.go

Co-authored-by: Małgorzata Świeca <[email protected]>

* Update cmd/kyma/alpha/create/scaffold/scaffold.go

Co-authored-by: Małgorzata Świeca <[email protected]>

* Update cmd/kyma/alpha/create/scaffold/scaffold.go

Co-authored-by: Małgorzata Świeca <[email protected]>

* Update docs/gen-docs/kyma_alpha_create.md

Co-authored-by: Małgorzata Świeca <[email protected]>

* Update cmd/kyma/alpha/create/scaffold/scaffold.go

Co-authored-by: Małgorzata Świeca <[email protected]>

* docs(scaffold.go): Update Md Files

* Merge Latest Changes

* Fix E2E Test

* scaffold.go: Fix Manifest and Default CR Generation

* default_cr.go: Fix Lint

* default_cr.go: Fix Metadata Case Sensitivity Issue

* scaffold.go: Fix Empty Directory Issue

* test-e2e-create-scaffold.yml: Add Newline At The End

* opts.go: Fix Overwrite Validation

* scaffold.go: Update Command Help

* Update Docs

* retrigger jobs

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Refactoring

* Add tests (WIP)

* Add tests (WIP)

* Add tests (WIP)

* Add tests (WIP)

* Add tests (WIP)

* Add tests (WIP)

* Add tests (WIP)

* Review fix

* Apply suggestions from code review

Co-authored-by: Oleksandr Meteiko <[email protected]>

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

---------

Co-authored-by: Małgorzata Świeca <[email protected]>
Co-authored-by: Benjamin Lindner <[email protected]>
Co-authored-by: Tomasz Smelcerz <[email protected]>
Co-authored-by: Oleksandr Meteiko <[email protected]>

* chore: Cleanup pre prow jobs (#1912)

* Add pull-cli-docs

* Add pull-cli-unit-test

* Add pull-cli-build

* new lines

* Empty-Commit

* feat: Set 1.27.9 as default K8s Version (#1913)

* Set 1.27.9 as default K8s Version

* Adapt docs

* feat: Add Support for Remote URLs in Module Config (#1906)

* feat: Add Support for Remote URLs in Module Config

* fix: Lint Issue

* fix: Data Race in test

* fix: Data Race in Test

* fix: Parallel Testing

* fix: PR Comments

* fix: HTTP mock in unit test

* fix: Lint Issue

* fix: Lint Issue

* fix: Fix Unrelated Unit Test

* Change to relative paths in generated scaffold module config (#1922)

* deps: Upgrade k8s to 1.29.1 (#1920)

* Upgrade k8s to 1.29.1

* fix build

---------

Co-authored-by: Badr, Nesma <[email protected]>

* chore(dependabot): bump helm.sh/helm/v3 from 3.13.3 to 3.14.0 (#1915)

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.3 to 3.14.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.13.3...v3.14.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump sigs.k8s.io/controller-runtime (#1914)

Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.16.3 to 0.17.0.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.16.3...v0.17.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0 (#1925)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump k8s.io/klog/v2 from 2.120.0 to 2.120.1 (#1926)

Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.120.0 to 2.120.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](kubernetes/klog@v2.120.0...v2.120.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/opencontainers/image-spec (#1928)

* feat: Refactor Enable And Disable Module Commands (#1918)

* feat: Refactor Enable And Disable Module Commands

* feat: Update docs

* fix: Unrelated Unit Test

* Apply suggestions from code review

Co-authored-by: Jeremy Harisch <[email protected]>

* docs: Update

* Apply suggestions from code review

Co-authored-by: Małgorzata Świeca <[email protected]>

* docs: Update

---------

Co-authored-by: Jeremy Harisch <[email protected]>
Co-authored-by: Małgorzata Świeca <[email protected]>

* chore(dependabot): bump github.com/onsi/gomega from 1.30.0 to 1.31.1 (#1931)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.30.0 to 1.31.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.30.0...v1.31.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/docker/docker (#1932)

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.8+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v24.0.7...v24.0.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/docker/cli (#1933)

Bumps [github.com/docker/cli](https://github.com/docker/cli) from 24.0.7+incompatible to 24.0.8+incompatible.
- [Commits](docker/cli@v24.0.7...v24.0.8)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump the go_modules group across 1 directories with 1 update (#1935)

Bumps the go_modules group with 1 update in the /. directory: [github.com/opencontainers/runc](https://github.com/opencontainers/runc).


Updates `github.com/opencontainers/runc` from 1.1.5 to 1.1.12
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md)
- [Commits](opencontainers/runc@v1.1.5...v1.1.12)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/docker/cli (#1937)

Bumps [github.com/docker/cli](https://github.com/docker/cli) from 24.0.8+incompatible to 24.0.9+incompatible.
- [Commits](docker/cli@v24.0.8...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/containerd/containerd (#1938)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.12 to 1.7.13.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.12...v1.7.13)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(dependabot): bump github.com/docker/docker (#1939)

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.8+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v24.0.8...v24.0.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump the go_modules group across 1 directories with 1 update (#1940)

Bumps the go_modules group with 1 update in the /. directory: [github.com/moby/moby](https://github.com/moby/moby).


Updates `github.com/moby/moby` from 20.10.24+incompatible to 24.0.9+incompatible
- [Release notes](https://github.com/moby/moby/releases)
- [Commits](moby/moby@v20.10.24...v24.0.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump ocm library to v0.6.0 (#1934)

* Bump ocm to 0.6.0

* Add modification option

* Fix lint

* Debugging

* Debug

* enhance equality check

* cleanup

* cleanup

* lint fix

* Review fix

* Configure kyma CLI version

* fix e2e tests (#1948)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xin Ruan <[email protected]>
Co-authored-by: Jeremy Harisch <[email protected]>
Co-authored-by: Oleksandr Meteiko <[email protected]>
Co-authored-by: Tomasz Smelcerz <[email protected]>
Co-authored-by: Benjamin Lindner <[email protected]>
Co-authored-by: jeremyharisch <[email protected]>
Co-authored-by: Hukumraj Singh Deora <[email protected]>
Co-authored-by: Małgorzata Świeca <[email protected]>
Co-authored-by: Benjamin Lindner <[email protected]>
  • Loading branch information
11 people authored Feb 14, 2024
1 parent 3f35a50 commit 6325d47
Show file tree
Hide file tree
Showing 26 changed files with 130 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-create-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
env:
K3D_VERSION: v5.4.7
MODULE_TEMPLATE_VERSION: 0.1.0
MODULE_TEMPLATE_VERSION: 0.1.2
OCI_REPOSITORY_URL: http://k3d-oci.localhost:5001
steps:
- name: Checkout Kyma CLI
Expand Down
9 changes: 5 additions & 4 deletions cmd/kyma/alpha/enable/enable.go → cmd/kyma/alpha/add/add.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package enable
package add

import (
"github.com/kyma-project/cli/cmd/kyma/alpha/enable/module"
"github.com/kyma-project/cli/cmd/kyma/alpha/add/module"
"github.com/kyma-project/cli/internal/cli"
"github.com/spf13/cobra"
)

func NewCmd(o *cli.Options) *cobra.Command {
cmd := &cobra.Command{
Use: "enable",
Short: "Enables a resource in the Kyma cluster.",
Use: "add",
Aliases: []string{"enable"},
Short: "Adds a resource to the Kyma cluster.",
Long: `Use this command to enable a resource in the Kyma cluster.
`,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func NewCmd(o *Options) *cobra.Command {

cmd := &cobra.Command{
Use: "module [name] [flags]",
Short: "Enables a module in the cluster or in the given Kyma resource.",
Long: `Use this command to enable Kyma modules available in the cluster.
Short: "Adds a module in the cluster or in the given Kyma resource.",
Long: `Use this command to add Kyma modules available in the cluster.
### Detailed description
Expand All @@ -43,8 +43,8 @@ A module is available when it is released with a ModuleTemplate. The ModuleTempl
`,

Example: `
Enable "my-module" from "alpha" channel in "default-kyma" in "kyma-system" Namespace
kyma alpha enable module my-module -c alpha -n kyma-system -k default-kyma
Add "my-module" from "alpha" channel to "default-kyma" in "kyma-system" Namespace
kyma alpha add module my-module -c alpha -n kyma-system -k default-kyma
`,
RunE: func(cmd *cobra.Command, args []string) error { return c.Run(cmd.Context(), args) },
Aliases: []string{"mod", "mods", "modules"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/kyma-project/lifecycle-manager/api/v1beta2"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/kyma-project/cli/cmd/kyma/alpha/enable/module/mock"
"github.com/kyma-project/cli/cmd/kyma/alpha/add/module/mock"
"github.com/kyma-project/cli/internal/cli/alpha/module"
)

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions cmd/kyma/alpha/alpha.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package alpha

import (
"github.com/kyma-project/cli/cmd/kyma/alpha/add"
"github.com/kyma-project/cli/cmd/kyma/alpha/create"
"github.com/kyma-project/cli/cmd/kyma/alpha/delete"
"github.com/kyma-project/cli/cmd/kyma/alpha/deploy"
"github.com/kyma-project/cli/cmd/kyma/alpha/disable"
"github.com/kyma-project/cli/cmd/kyma/alpha/enable"
"github.com/kyma-project/cli/cmd/kyma/alpha/list"
"github.com/kyma-project/cli/cmd/kyma/alpha/sign"
"github.com/kyma-project/cli/cmd/kyma/alpha/verify"
Expand All @@ -23,8 +23,8 @@ func NewCmd(o *cli.Options) *cobra.Command {

cmd.AddCommand(create.NewCmd(o))
cmd.AddCommand(list.NewCmd(o))
cmd.AddCommand(enable.NewCmd(o))
cmd.AddCommand(disable.NewCmd(o))
cmd.AddCommand(add.NewCmd(o))
cmd.AddCommand(delete.NewCmd(o))
cmd.AddCommand(deploy.NewCmd(deploy.NewOptions(o)))
cmd.AddCommand(sign.NewCmd(o))
cmd.AddCommand(verify.NewCmd(o))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package disable
package delete

import (
"github.com/kyma-project/cli/cmd/kyma/alpha/disable/module"
"github.com/kyma-project/cli/cmd/kyma/alpha/delete/module"
"github.com/kyma-project/cli/internal/cli"
"github.com/spf13/cobra"
)

func NewCmd(o *cli.Options) *cobra.Command {
cmd := &cobra.Command{
Use: "disable",
Short: "Disables a resource in the Kyma cluster.",
Use: "delete",
Aliases: []string{"disable"},
Short: "Deletes a resource from the Kyma cluster.",
Long: `Use this command to disable a resource in the Kyma cluster.
`,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ func NewCmd(o *Options) *cobra.Command {

cmd := &cobra.Command{
Use: "module [name] [flags]",
Short: "Disables a module in the cluster or in the given Kyma resource.",
Long: `Use this command to disable active Kyma modules in the cluster.
Short: "Deletes a module from the cluster or the given Kyma resource.",
Long: `Use this command to delete Kyma modules from the cluster.
### Detailed description
Expand All @@ -40,8 +40,8 @@ This command disables an active module in the cluster.
`,

Example: `
Disable "my-module" from the "alpha" channel in "default-kyma" in "kyma-system" Namespace
kyma alpha disable module my-module -c alpha -n kyma-system -k default-kyma
Delete "my-module" from the "alpha" channel from "default-kyma" in "kyma-system" Namespace
kyma alpha delete module my-module -c alpha -n kyma-system -k default-kyma
`,
RunE: func(cmd *cobra.Command, args []string) error { return c.Run(cmd.Context(), args) },
Aliases: []string{"mod", "mods", "modules"},
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/gen-docs/kyma_alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Alpha commands are experimental, unreleased features that should only be used by
## See also

* [kyma](kyma.md) - Controls a Kyma cluster.
* [kyma alpha add](kyma_alpha_add.md) - Adds a resource to the Kyma cluster.
* [kyma alpha create](kyma_alpha_create.md) - Creates resources on the Kyma cluster.
* [kyma alpha delete](kyma_alpha_delete.md) - Deletes a resource from the Kyma cluster.
* [kyma alpha deploy](kyma_alpha_deploy.md) - Deploys Kyma on a running Kubernetes cluster.
* [kyma alpha disable](kyma_alpha_disable.md) - Disables a resource in the Kyma cluster.
* [kyma alpha enable](kyma_alpha_enable.md) - Enables a resource in the Kyma cluster.
* [kyma alpha list](kyma_alpha_list.md) - Lists resources on the Kyma cluster.
* [kyma alpha sign](kyma_alpha_sign.md) - Signs all module resources from an unsigned module component descriptor that's hosted in a remote OCI registry
* [kyma alpha verify](kyma_alpha_verify.md) - Verifies all module resources from a signed module component descriptor that's hosted in a remote OCI registry
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: kyma alpha enable
title: kyma alpha add
---

Enables a resource in the Kyma cluster.
Adds a resource to the Kyma cluster.

## Synopsis

Expand All @@ -22,5 +22,5 @@ Use this command to enable a resource in the Kyma cluster.
## See also

* [kyma alpha](kyma_alpha.md) - Experimental commands
* [kyma alpha enable module](kyma_alpha_enable_module.md) - Enables a module in the cluster or in the given Kyma resource.
* [kyma alpha add module](kyma_alpha_add_module.md) - Adds a module in the cluster or in the given Kyma resource.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: kyma alpha enable module
title: kyma alpha add module
---

Enables a module in the cluster or in the given Kyma resource.
Adds a module in the cluster or in the given Kyma resource.

## Synopsis

Use this command to enable Kyma modules available in the cluster.
Use this command to add Kyma modules available in the cluster.

### Detailed description

Expand All @@ -17,15 +17,15 @@ A module is available when it is released with a ModuleTemplate. The ModuleTempl


```bash
kyma alpha enable module [name] [flags]
kyma alpha add module [name] [flags]
```

## Examples

```bash

Enable "my-module" from "alpha" channel in "default-kyma" in "kyma-system" Namespace
kyma alpha enable module my-module -c alpha -n kyma-system -k default-kyma
Add "my-module" from "alpha" channel to "default-kyma" in "kyma-system" Namespace
kyma alpha add module my-module -c alpha -n kyma-system -k default-kyma

```

Expand Down Expand Up @@ -53,5 +53,5 @@ Enable "my-module" from "alpha" channel in "default-kyma" in "kyma-system" Names
## See also
* [kyma alpha enable](kyma_alpha_enable.md) - Enables a resource in the Kyma cluster.
* [kyma alpha add](kyma_alpha_add.md) - Adds a resource to the Kyma cluster.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: kyma alpha disable
title: kyma alpha delete
---

Disables a resource in the Kyma cluster.
Deletes a resource from the Kyma cluster.

## Synopsis

Expand All @@ -22,5 +22,5 @@ Use this command to disable a resource in the Kyma cluster.
## See also

* [kyma alpha](kyma_alpha.md) - Experimental commands
* [kyma alpha disable module](kyma_alpha_disable_module.md) - Disables a module in the cluster or in the given Kyma resource.
* [kyma alpha delete module](kyma_alpha_delete_module.md) - Deletes a module from the cluster or the given Kyma resource.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: kyma alpha disable module
title: kyma alpha delete module
---

Disables a module in the cluster or in the given Kyma resource.
Deletes a module from the cluster or the given Kyma resource.

## Synopsis

Use this command to disable active Kyma modules in the cluster.
Use this command to delete Kyma modules from the cluster.

### Detailed description

Expand All @@ -16,15 +16,15 @@ This command disables an active module in the cluster.


```bash
kyma alpha disable module [name] [flags]
kyma alpha delete module [name] [flags]
```

## Examples

```bash

Disable "my-module" from the "alpha" channel in "default-kyma" in "kyma-system" Namespace
kyma alpha disable module my-module -c alpha -n kyma-system -k default-kyma
Delete "my-module" from the "alpha" channel from "default-kyma" in "kyma-system" Namespace
kyma alpha delete module my-module -c alpha -n kyma-system -k default-kyma

```

Expand All @@ -51,5 +51,5 @@ Disable "my-module" from the "alpha" channel in "default-kyma" in "kyma-system"
## See also
* [kyma alpha disable](kyma_alpha_disable.md) - Disables a resource in the Kyma cluster.
* [kyma alpha delete](kyma_alpha_delete.md) - Deletes a resource from the Kyma cluster.
21 changes: 13 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/avast/retry-go v3.0.0+incompatible
github.com/briandowns/spinner v1.23.0
github.com/containerd/containerd v1.7.12
github.com/containerd/containerd v1.7.13
github.com/daviddengcn/go-colortext v1.0.0
github.com/docker/cli v24.0.7+incompatible
github.com/docker/docker v24.0.7+incompatible
github.com/docker/cli v24.0.9+incompatible
github.com/docker/docker v24.0.9+incompatible
github.com/docker/go-connections v0.5.0
github.com/fatih/color v1.16.0
github.com/go-git/go-git/v5 v5.11.0
Expand All @@ -24,10 +24,10 @@ require (
github.com/kyma-project/lifecycle-manager/api v0.0.0-20231212124126-3539b2df72e0
github.com/mandelsoft/vfs v0.4.0
github.com/onsi/ginkgo/v2 v2.15.0
github.com/onsi/gomega v1.30.0
github.com/open-component-model/ocm v0.4.0
github.com/onsi/gomega v1.31.1
github.com/open-component-model/ocm v0.6.0
github.com/opencontainers/go-digest v1.0.0
github.com/opencontainers/image-spec v1.1.0-rc5
github.com/opencontainers/image-spec v1.1.0-rc6
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.8.0
Expand Down Expand Up @@ -178,6 +178,7 @@ require (
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-openapi/validate v0.22.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-test/deep v1.1.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
Expand Down Expand Up @@ -208,7 +209,10 @@ require (
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
github.com/hashicorp/vault-client-go v0.4.2 // indirect
github.com/huandu/xstrings v1.4.0 // indirect
github.com/iancoleman/orderedmap v0.2.0 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
Expand Down Expand Up @@ -250,7 +254,7 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/moby/moby v20.10.24+incompatible // indirect
github.com/moby/moby v24.0.9+incompatible // indirect
github.com/moby/patternmatcher v0.6.0 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect
Expand All @@ -266,7 +270,7 @@ require (
github.com/nwaples/rardecode v1.1.3 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/oleiade/reflections v1.0.1 // indirect
github.com/opencontainers/runc v1.1.5 // indirect
github.com/opencontainers/runc v1.1.12 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/otiai10/copy v1.9.0 // indirect
github.com/panjf2000/ants/v2 v2.7.1 // indirect
Expand All @@ -284,6 +288,7 @@ require (
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rubenv/sql-migrate v1.5.2 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sassoftware/relic v7.2.1+incompatible // indirect
Expand Down
Loading

0 comments on commit 6325d47

Please sign in to comment.