Releases: patrickdappollonio/kubectl-slice
v1.4.1
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
- Bump rajatjindal/krew-release-bot from 0.0.46 to 0.0.47 by @dependabot in #136
- Bump golang.org/x/text from 0.19.0 to 0.20.0 by @dependabot in #135
- Add support for "API groups" by @jokestax in #134
Full Changelog: v1.4.0...v1.4.1
v1.4.0
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 calledslice
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
What's Changed
- Remove app-generated comments written to the files sliced. by @patrickdappollonio in #123
Full Changelog: v1.3.0...v1.3.1
v1.3.0
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
- Bump golang.org/x/text from 0.14.0 to 0.15.0 by @dependabot in #115
- Bump golangci/golangci-lint-action from 4 to 6 by @dependabot in #116
- Bump github.com/spf13/viper from 1.18.2 to 1.19.0 by @dependabot in #117
- Bump golang.org/x/text from 0.15.0 to 0.16.0 by @dependabot in #118
- Bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in #119
- Add option to provide a folder as an input. Fixes #121 by @patrickdappollonio in #122
Full Changelog: v1.2.9...v1.3.0
v1.2.9
v1.2.8
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
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
v1.2.5
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
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)