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