Skip to content

Releases: patrickdappollonio/kubectl-slice

v1.4.1

14 Nov 20:24
f392992
Compare
Choose a tag to compare

What's new?

In this version of kubectl-slice, @jokestax added support to filter by Kubernetes API Groups. If you have ever used something like Rancher or Istio that might end up creating new CRDs that conflict with preexistent ones (like having Rancher nodes and Kubernetes nodes map to the same resource on a kubectl get nodes).

With --include-group you can now specify what groups you want to operate on. It follows the same convention as the other include and exclude flags, although they don't support globbing while still being case insensitive.

Thanks again to @jokestax for adding this feature!

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

16 Oct 19:49
5e40643
Compare
Choose a tag to compare

Massive thanks to @jokestax for launching the container image for kubectl-slice.

To use, simply pull the container. The binary is located in /usr/local/bin/kubectl-slice. It's 1:1 the same binary as the one available in our releases. For convenience, the container also includes:

  • kubectl
  • yq
  • Debian with sudo support and a default user called slice

Changelog

  • 5e40643 Add additional permissions for releases. (#132)
  • b5bf93c Add custom Docker image offering (#130)
  • 669088d Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#124)
  • cbd2bbd Bump golang.org/x/text from 0.16.0 to 0.17.0 (#125)
  • 34d7f83 Bump golang.org/x/text from 0.17.0 to 0.18.0 (#126)
  • cffc74d Bump golang.org/x/text from 0.18.0 to 0.19.0 (#129)
  • 4c4c613 Fix linting message. (#128)
  • 6a30143 Fix naming convention on Github Action. (#131)
  • 82d50f2 goreleaser snapshot property update (#127)

v1.3.1

12 Jun 18:03
2b1d811
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

11 Jun 00:32
ecdccf8
Compare
Choose a tag to compare

New feature: Use a folder as the input

In this version of kubectl-slice, we're adding the ability to specify a folder as an input. When specifying a folder as an input, all .yaml and .yml files in that folder will be automatically read and provided to kubectl-slice as input. No more copypasting a bash script to pre-concatenate all YAML files!.

You can choose to recurse or not the given directory by passing --recurse or -r since, by default, only the YAML files from that folder are read. Additionally, sometimes we might have a Helm-style type of YAML file which might be parsed as pure YAML but wouldn't be potentially caught by kubectl-slice, so if you want it to read other files besides .yaml or .yml, then you can simply customize the extensions read by specifying --extensions .tpl, for example.

While there are no breaking changes in this version, it is a bit too big to leave it as a "patch", so we've bumped it to 1.3.0.

Enjoy!

What's Changed

Full Changelog: v1.2.9...v1.3.0

v1.2.9

20 Mar 03:21
37272dd
Compare
Choose a tag to compare

Changelog

  • 37272dd Allow pruning of target directory's contents (#113)
  • 0d0a281 Bump golangci/golangci-lint-action from 3 to 4 (#109)

v1.2.8

16 Mar 04:13
0b46df9
Compare
Choose a tag to compare

Changelog

  • 0b46df9 Add support to include triple dashes in output files. (#111)
  • e380261 Bump actions/checkout from 3 to 4 (#96)
  • 726051a Bump actions/setup-go from 4 to 5 (#103)
  • 813dc9e Bump actions/stale from 8 to 9 (#104)
  • 98af8d5 Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#99)
  • 612a2b4 Bump github.com/spf13/viper from 1.16.0 to 1.18.1 (#102)
  • db8ad03 Bump github.com/spf13/viper from 1.18.1 to 1.18.2 (#107)
  • fad24d7 Bump github/codeql-action from 2 to 3 (#106)
  • e127a2d Bump goreleaser/goreleaser-action from 4 to 5 (#97)

v1.2.7

05 Sep 18:28
758a6e0
Compare
Choose a tag to compare

Changelog

  • 7919256 Allow ignoring empty kinds or names. (#90)
  • f66bd18 Bump actions/setup-go from 3 to 4 (#82)
  • 9570202 Bump actions/stale from 7 to 8 (#78)
  • 395192e Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#79)
  • 401b37d Bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#86)
  • 92f7528 Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#81)
  • 9d12bb0 Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#84)
  • c836ba2 Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#85)
  • c59e1c3 Bump golang.org/x/text from 0.10.0 to 0.11.0 (#89)
  • 12415e0 Bump golang.org/x/text from 0.11.0 to 0.13.0 (#93)
  • edaec61 Bump golang.org/x/text from 0.7.0 to 0.9.0 (#77)
  • 76b81a0 Bump golang.org/x/text from 0.9.0 to 0.10.0 (#87)
  • df6a5e3 Bump rajatjindal/krew-release-bot from 0.0.43 to 0.0.46 (#80)
  • f64b3ce Create dependabot.yml (#76)
  • d6baa62 Fix config file example to use correct separator (#92)
  • 758a6e0 Improve error messages on filtering for Kubernetes-type files. (#95)

v1.2.6

30 Apr 23:20
d52605f
Compare
Choose a tag to compare

Changelog

  • d52605f Add support for a configuration file & environment variable settings (#75)

v1.2.5

23 Feb 02:51
Compare
Choose a tag to compare

Changelog

  • b3f3f44 Change branch name. (#67)
  • 9e08b8d Code improvements and version updates (#68)
  • 5e58891 Fix routes for ARM. Add Windows ARM copies.
  • 151c443 Fix routes for ARM. Add Windows ARM copies.
  • 4e228d3 Fixes goreleaser template name.
  • 77ab4f1 Fixes goreleaser.
  • 7d984df Removes unsupported OS versions for Krew.
  • bb96f94 Update README.md
  • 5db36dd Update URL mapping for Krew.
  • ca0638a Update stale.yml

v1.2.4

27 Oct 23:28
a8319d2
Compare
Choose a tag to compare

Changelog

  • baaafcc Create stale.yml
  • f1a9384 Update actions/stale action to v5 (#56)
  • 5c44a52 Update module go to 1.19 (#55)
  • a8340b0 Update module gopkg.in/yaml.v3 to v3.0.1 (#51)
  • 17514ff Update reviewdog/action-golangci-lint action to v2.1.4 (#52)
  • 85da765 Update reviewdog/action-golangci-lint action to v2.1.5 (#54)
  • 92a4057 Update reviewdog/action-golangci-lint action to v2.1.6 (#57)
  • a8319d2 feat(app): Implement include and exclude option - close #22. (#62)