Skip to content

v1.3.0

Compare
Choose a tag to compare
@patrickdappollonio patrickdappollonio released this 11 Jun 00:32
· 15 commits to main since this release
ecdccf8

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